MCPcopy Index your code
hub / github.com/getsops/sops / EncryptedDataKey

Method EncryptedDataKey

hckms/keysource.go:184–186  ·  view source on GitHub ↗

EncryptedDataKey returns the encrypted data key this master key holds.

()

Source from the content-addressed store, hash-verified

182
183// EncryptedDataKey returns the encrypted data key this master key holds.
184func (key *MasterKey) EncryptedDataKey() []byte {
185 return []byte(key.EncryptedKey)
186}
187
188// SetEncryptedDataKey sets the encrypted data key for this master key.
189func (key *MasterKey) SetEncryptedDataKey(enc []byte) {

Callers 1

Calls

no outgoing calls

Tested by 1