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"`
Cert *x509.Certificate `json:"-"`
PrivateKey *rsa.PrivateKey `json:"-"`
CertPEM []byte `json:"certificate"`
PrivKeyPEM []byte `json:"privateKey"`
}
func (*Certificate) Load ¶
func (c *Certificate) Load(rootPath string) error
func (*Certificate) MarshalJSON ¶ added in v0.2.3
func (c *Certificate) MarshalJSON() ([]byte, error)
func (*Certificate) Save ¶
func (c *Certificate) Save(rootPath string) error
func (*Certificate) UnmarshalJSON ¶ added in v0.2.3
func (c *Certificate) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.