Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithExtendedKeyUsageForServerAuth ¶
func WithExtendedKeyUsageForServerAuth() (option tlsCertificateOption)
func WithIPAddress ¶
func WithIPAddress(address string) (option tlsCertificateOption)
Types ¶
type TLSCertificate ¶
type TLSCertificate struct {
// contains filtered or unexported fields
}
func NewTLSCertificate ¶
func NewTLSCertificate(options ...tlsCertificateOption) ( c *TLSCertificate, e error, )
func (*TLSCertificate) Destroy ¶
func (c *TLSCertificate) Destroy() (e error)
func (*TLSCertificate) PathToCertPEM ¶
func (c *TLSCertificate) PathToCertPEM() string
func (*TLSCertificate) PathToKeyPEM ¶
func (c *TLSCertificate) PathToKeyPEM() string
Click to show internal directories.
Click to hide internal directories.