Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTLSConfig ¶
func ParseCertificate ¶
func ParseCertificate(cert, key []byte) (certificate tls.Certificate, err error)
ParseCertificate reads a certificate from the given bytes. Either as PEM format where chained ones are considered or just plain DER format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.