Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FGetURINamesFromPEM ¶
FGetURINamesFromPEM retrieves URIs from the SAN extension of a PEM-encoded X.509 certificate, whose content is in the provided io.Reader.
func GetURINamesFromCertificate ¶
func GetURINamesFromCertificate(cert *x509.Certificate) (uris []string, err error)
GetUrisInSubjectAltName takes a parsed X.509 certificate and gets the URIs from the SAN extension.
func GetURINamesFromPEM ¶
GetUrisInSubjectAltNameEncoded parses a PEM-encoded X.509 certificate and gets the URIs from the SAN extension.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.