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

Method ToString

hckms/keysource.go:243–245  ·  view source on GitHub ↗

ToString converts the key to a string representation.

()

Source from the content-addressed store, hash-verified

241
242// ToString converts the key to a string representation.
243func (key *MasterKey) ToString() string {
244 return key.KeyID
245}
246
247// ToMap converts the MasterKey to a map for serialization purposes.
248func (key MasterKey) ToMap() map[string]interface{} {

Callers 1

TestMasterKey_ToStringFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMasterKey_ToStringFunction · 0.76