Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCert ¶
func ParseCert(certPEM string) (*x509.Certificate, error)
ParseCert parses the given PEM-formatted X509 certificate.
func ParseCertAndKey ¶
ParseCertAndKey parses the given PEM-formatted X509 certificate and RSA private key.
Types ¶
type GeneralName ¶
type GeneralName struct {
OID asn1.ObjectIdentifier
OtherName `asn1:"tag:0"`
}
GeneralName type for asn1 encoding
type GeneralNames ¶
type GeneralNames struct {
GeneralName `asn1:"tag:0"`
}
GeneralNames type for asn1 encoding
Click to show internal directories.
Click to hide internal directories.