View definition

(KeyPairStorage).IsValid

Defined in github.com/koding/kite/kontrol/keypair.go

Description

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.

IsValid is referenced in 1 repository

github.com/koding/kite