x509util

package
v0.50.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

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.

Jump to

Keyboard shortcuts

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