package x509util
import "github.com/spiffe/go-spiffe/v2/internal/x509util"
Index ¶
- func CertsEqual(a, b []*x509.Certificate) bool
- func CopyX509Authorities(x509Authorities []*x509.Certificate) []*x509.Certificate
- func NewCertPool(certs []*x509.Certificate) *x509.CertPool
Functions ¶
func CertsEqual ¶
func CertsEqual(a, b []*x509.Certificate) bool
CertsEqual returns true if the slices of X.509 certificates are equal.
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
Source Files ¶
- Version
- v2.0.0-alpha.2
- Published
- Apr 23, 2020
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 1 day ago –
Tools for package owners.