GetKeyFromPublic retrieves the KeyPairs from the given public key. 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)
| 53 | // that it was deleted, the returned error is of *DeletedKeyPairError |
| 54 | // type. |
| 55 | GetKeyFromPublic(publicKey string) (*KeyPair, error) |
| 56 | |
| 57 | // Is valid checks if the given publicKey is valid or not. It's up to the |
| 58 | // implementer how to implement it. A valid public key returns a nil error. |
no outgoing calls
no test coverage detected