GetMetadata returns the json metadata
()
| 39 | |
| 40 | // GetMetadata returns the json metadata |
| 41 | func (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 |
| 48 | func (c *CertificateRecord) SetSANs(meta []string) error { |
no outgoing calls