Documentation ¶
Index ¶
- func CertsEqual(a, b []*x509.Certificate) bool
- func ConcatRawCertsFromCerts(certs []*x509.Certificate) []byte
- func CopyX509Authorities(x509Authorities []*x509.Certificate) []*x509.Certificate
- func NewCertPool(certs []*x509.Certificate) *x509.CertPool
- func RawCertsFromCerts(certs []*x509.Certificate) [][]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertsEqual ¶
func CertsEqual(a, b []*x509.Certificate) bool
CertsEqual returns true if the slices of X.509 certificates are equal.
func ConcatRawCertsFromCerts ¶
func ConcatRawCertsFromCerts(certs []*x509.Certificate) []byte
func CopyX509Authorities ¶
func CopyX509Authorities(x509Authorities []*x509.Certificate) []*x509.Certificate
CopyX509Authorities copies a slice of X.509 certificates to a new slice.
func NewCertPool ¶
func NewCertPool(certs []*x509.Certificate) *x509.CertPool
NewCertPool returns a new CertPool with the given X.509 certificates
func RawCertsFromCerts ¶
func RawCertsFromCerts(certs []*x509.Certificate) [][]byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.