Versions in this module Expand all Collapse all v1 v1.1.0 Aug 3, 2020 v1.0.0 Apr 23, 2020 Changes in this version + var OidExtensionKeyUsage = asn1.ObjectIdentifier + var OidExtensionSubjectAltName = asn1.ObjectIdentifier + func FGetURINamesFromPEM(f io.Reader) (uris []string, err error) + func GetExtensionsFromAsn1ObjectIdentifier(certificate *x509.Certificate, id asn1.ObjectIdentifier) []pkix.Extension + func GetKeyUsageExtensionsFromCertificate(cert *x509.Certificate) (extension []pkix.Extension) + func GetURINamesFromCertificate(cert *x509.Certificate) (uris []string, err error) + func GetURINamesFromExtensions(extensions *[]pkix.Extension) (uris []string, err error) + func GetURINamesFromPEM(encodedCertificate string) (uris []string, err error) + func MarshalUriSANs(uris []string) (derBytes []byte, err error)