Documentation ¶
Index ¶
- type Certificate
- func (c *Certificate) CertPool() *x509.CertPool
- func (c *Certificate) Issue(template *x509.Certificate) *Certificate
- func (c *Certificate) New(name string) *Certificate
- func (c *Certificate) SelfSign() *Certificate
- func (c *Certificate) Sign(template *Certificate) *Certificate
- func (c *Certificate) TLS() tls.Certificate
- func (c *Certificate) X509() *x509.Certificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate tls.Certificate
func CA ¶
func CA(template *x509.Certificate) *Certificate
func Cert ¶
func Cert(template *x509.Certificate) *Certificate
func Load ¶
func Load(data string) *Certificate
func (*Certificate) CertPool ¶
func (c *Certificate) CertPool() *x509.CertPool
func (*Certificate) Issue ¶
func (c *Certificate) Issue(template *x509.Certificate) *Certificate
func (*Certificate) New ¶
func (c *Certificate) New(name string) *Certificate
func (*Certificate) SelfSign ¶
func (c *Certificate) SelfSign() *Certificate
func (*Certificate) Sign ¶
func (c *Certificate) Sign(template *Certificate) *Certificate
func (*Certificate) TLS ¶
func (c *Certificate) TLS() tls.Certificate
func (*Certificate) X509 ¶
func (c *Certificate) X509() *x509.Certificate
Click to show internal directories.
Click to hide internal directories.