mirror of https://github.com/nucypher/nucypher.git
Add placeholder methods for get_key, add_key, and del_key
parent
1a328811bf
commit
8e29c079d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue