Documentation ¶
Index ¶
- func PemCertFromBytes(derBytes []byte) string
- func PemCertFromPem(data string) string
- func PemCertFromPkcs12(b64pkcs12 string) string
- func PemChainFromPem(data string, justIssuers bool) string
- func PemChainFromPkcs12(b64pkcs12 string, justIssuers bool) string
- func PemPrivateKeyFromPem(data string) string
- func PemPrivateKeyFromPkcs12(b64pkcs12 string) string
- func SortedChain(certs []*x509.Certificate, justIssuers bool) []x509.Certificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PemCertFromBytes ¶ added in v1.4.0
Takes DER Encoded Byte Array and produces PEM Encoded x509 Certificate as String
func PemCertFromPem ¶
Takes PEM Encoded data as String and produces PEM Encoded x509 Certificate as String
func PemCertFromPkcs12 ¶
Takes Base64 Encoded PKCS12 as String and produces PEM Encoded x509 Certificate as String
func PemChainFromPem ¶
Takes PEM Encoded data as String and produces PEM Encoded x509 Certificate Chain as String
func PemChainFromPkcs12 ¶
Takes Base64 Encoded PKCS12 as String and produces PEM Encoded x509 Certificate Chain as String
func PemPrivateKeyFromPem ¶
Takes PEM Encoded data as String and produces PEM Encoded PCKS8 Private Key as String
func PemPrivateKeyFromPkcs12 ¶
Takes Base64 Encoded PKCS12 as String and produces PEM Encoded PCKS8 Private Key as String
func SortedChain ¶
func SortedChain(certs []*x509.Certificate, justIssuers bool) []x509.Certificate
Sorts an array of x509.Certificate objects
Types ¶
This section is empty.