forked from TrueCloudLab/certificates
Add Close method to the key manager interface.
This commit is contained in:
parent
e60beeb7fc
commit
a3128a26bb
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ type KeyManager interface {
|
|||
GetPublicKey(req *apiv1.GetPublicKeyRequest) (*apiv1.GetPublicKeyResponse, error)
|
||||
CreateKey(req *apiv1.CreateKeyRequest) (*apiv1.CreateKeyResponse, error)
|
||||
CreateSigner(req *apiv1.CreateSignerRequest) (crypto.Signer, error)
|
||||
Close() error
|
||||
}
|
||||
|
||||
// New initializes a new KMS from the given type.
|
||||
|
|
Loading…
Reference in a new issue