Add placeholder methods for get_key, add_key, and del_key

pull/79/head
tuxxy 2017-10-11 13:44:51 -06:00
parent 1a328811bf
commit 8e29c079d0
No known key found for this signature in database
GPG Key ID: 7BB971A0E89144D9
1 changed files with 27 additions and 0 deletions

View File

@ -32,3 +32,30 @@ class KeyStore(object):
"""
ecdsa_keypair = keypairs.SigningKeypair().gen_privkey()
return ecdsa_keypair
def get_key(self):
"""
Returns a key from the KeyStore.
TODO: Implement this.
TODO: Retrieve key by KeyID.
"""
pass
def add_key(self):
"""
Adds a key to the KeyStore.
TODO: Implement this.
TODO: Maybe make an abstract base class for Keypair?
"""
pass
def del_key(self):
"""
Deletes a key from the KeyStore.
TODO: Implement this.
TODO: Delete key by KeyID.
"""
pass