4
0
Эх сурвалжийг харах

Add Close method to the key manager interface.

Mariano Cano 6 жил өмнө
parent
commit
a3128a26bb
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      kms/kms.go

+ 1 - 0
kms/kms.go

@@ -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.