MCPcopy Index your code
hub / github.com/koding/kite / IsValid

Method IsValid

kontrol/keypair.go:63–63  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

61 // that it was deleted, the returned error is of *DeletedKeyPairError
62 // type.
63 IsValid(publicKey string) error
64}
65
66func NewMemKeyPairStorage() *MemKeyPairStorage {

Callers 4

IsValidMethod · 0.65
HandleGetKeyMethod · 0.65
VerifyMethod · 0.65

Implementers 3

MemKeyPairStoragekontrol/keypair.go
CachedStoragekontrol/keypair.go
Postgreskontrol/postgres.go

Calls

no outgoing calls

Tested by 1