Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct {
Organization string
Country string
Province string
Locality string
StreetAddress string
PostalCode string
// contains filtered or unexported fields
}
func (*CA) Certificate ¶
func (ca *CA) Certificate(serial int64) (cert *Certificate)
type Certificate ¶
type Certificate struct {
Organization string
Country string
Province string
Locality string
StreetAddress string
PostalCode string
// contains filtered or unexported fields
}
func (*Certificate) ClientTLSConf ¶
func (cert *Certificate) ClientTLSConf() (clnttlsconf *tls.Config)
func (*Certificate) ServerTLSConf ¶
func (cert *Certificate) ServerTLSConf() (svrtlsconf *tls.Config)
Click to show internal directories.
Click to hide internal directories.