Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lock ¶
type Lock struct {
// contains filtered or unexported fields
}
Lock is a secret lock based on private key.
func (*Lock) Decrypt ¶
func (l *Lock) Decrypt(keyURI string, req *secretlock.DecryptRequest) (*secretlock.DecryptResponse, error)
Decrypt decrypts request with key identified by keyURI.
func (*Lock) Encrypt ¶
func (l *Lock) Encrypt(keyURI string, req *secretlock.EncryptRequest) (*secretlock.EncryptResponse, error)
Encrypt encrypts request with key identified by keyURI.
Click to show internal directories.
Click to hide internal directories.