MCPcopy Create free account
hub / github.com/cloudflare/cfssl / GetMetadata

Method GetMetadata

certdb/certdb.go:41–45  ·  view source on GitHub ↗

GetMetadata returns the json metadata

()

Source from the content-addressed store, hash-verified

39
40// GetMetadata returns the json metadata
41func (c *CertificateRecord) GetMetadata() (map[string]interface{}, error) {
42 var meta map[string]interface{}
43 err := c.MetadataJSON.Unmarshal(&meta)
44 return meta, err
45}
46
47// SetSANs sets the list of sans
48func (c *CertificateRecord) SetSANs(meta []string) error {

Calls

no outgoing calls

Tested by 1