Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct { CACert *x509.Certificate // contains filtered or unexported fields }
DB represents a TLS database
func (*DB) GetKeyAndCertificate ¶
func (db *DB) GetKeyAndCertificate(commonName string) (*rsa.PrivateKey, *x509.Certificate, error)
GetKeyAndCertificate returns a cached key and certificate, or creates and caches new ones
Click to show internal directories.
Click to hide internal directories.