certutil

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PemCertFromBytes added in v1.4.0

func PemCertFromBytes(derBytes []byte) string

Takes DER Encoded Byte Array and produces PEM Encoded x509 Certificate as String

func PemCertFromPem

func PemCertFromPem(data string) string

Takes PEM Encoded data as String and produces PEM Encoded x509 Certificate as String

func PemCertFromPkcs12

func PemCertFromPkcs12(b64pkcs12 string) string

Takes Base64 Encoded PKCS12 as String and produces PEM Encoded x509 Certificate as String

func PemChainFromPem

func PemChainFromPem(data string, justIssuers bool) string

Takes PEM Encoded data as String and produces PEM Encoded x509 Certificate Chain as String

func PemChainFromPkcs12

func PemChainFromPkcs12(b64pkcs12 string, justIssuers bool) string

Takes Base64 Encoded PKCS12 as String and produces PEM Encoded x509 Certificate Chain as String

func PemPrivateKeyFromPem

func PemPrivateKeyFromPem(data string) string

Takes PEM Encoded data as String and produces PEM Encoded PCKS8 Private Key as String

func PemPrivateKeyFromPkcs12

func PemPrivateKeyFromPkcs12(b64pkcs12 string) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL