Documentation ¶
Index ¶
- func AddRootCA(certs []*x509.Certificate) ([]*x509.Certificate, error)
- func DecodeCertificate(data []byte) (*x509.Certificate, error)
- func DecodeCertificates(data []byte) ([]*x509.Certificate, error)
- func EncodeCertificate(cert *x509.Certificate) []byte
- func EncodeCertificateDER(cert *x509.Certificate) []byte
- func EncodeCertificates(certs []*x509.Certificate) []byte
- func EncodeCertificatesDER(certs []*x509.Certificate) []byte
- func FetchCertificateChain(cert *x509.Certificate) ([]*x509.Certificate, error)
- func IsPEM(data []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRootCA ¶
func AddRootCA(certs []*x509.Certificate) ([]*x509.Certificate, error)
func DecodeCertificate ¶
func DecodeCertificate(data []byte) (*x509.Certificate, error)
func DecodeCertificates ¶
func DecodeCertificates(data []byte) ([]*x509.Certificate, error)
func EncodeCertificate ¶
func EncodeCertificate(cert *x509.Certificate) []byte
func EncodeCertificateDER ¶
func EncodeCertificateDER(cert *x509.Certificate) []byte
func EncodeCertificates ¶
func EncodeCertificates(certs []*x509.Certificate) []byte
func EncodeCertificatesDER ¶
func EncodeCertificatesDER(certs []*x509.Certificate) []byte
func FetchCertificateChain ¶
func FetchCertificateChain(cert *x509.Certificate) ([]*x509.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.