Is valid checks if the given publicKey is valid or not. It's up to the implementer how to implement it. A valid public key returns a nil error. If the key is no longer valid and the storage is able to deterime that it was deleted, the returned error is of *DeletedKeyPairError type.
(publicKey string)
| 61 | // that it was deleted, the returned error is of *DeletedKeyPairError |
| 62 | // type. |
| 63 | IsValid(publicKey string) error |
| 64 | } |
| 65 | |
| 66 | func NewMemKeyPairStorage() *MemKeyPairStorage { |
no outgoing calls