Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct {
Name string `json:"name" yaml:"name"`
Cert *x509.Certificate `json:"-" yaml:"-"`
PrivateKey *rsa.PrivateKey `json:"-" yaml:"-"`
CertPEM []byte `json:"certificate" yaml:"certificate"`
PrivKeyPEM []byte `json:"-" yaml:"privateKey"`
}
func (*Certificate) Load ¶
func (c *Certificate) Load(rootPath string) error
func (*Certificate) MarshalYAML ¶ added in v0.2.4
func (c *Certificate) MarshalYAML() (interface{}, error)
func (*Certificate) Save ¶
func (c *Certificate) Save(rootPath string) error
func (*Certificate) UnmarshalYAML ¶ added in v0.2.4
func (c *Certificate) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.