Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCertificates ¶
func ParseCertificates(data []byte, contentType string) (certs []*x509.Certificate, err error)
ParseCertificates parses certificates from either PEM or PKCS12 data. It returns an empty list if no certificates are found. Parsing will skip private key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.