package x509util
import "github.com/spiffe/go-spiffe/v2/internal/x509util"
Index ¶
- func CertsEqual(a, b []*x509.Certificate) bool
- func CopyX509Roots(x509Roots []*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 CopyX509Roots ¶
func CopyX509Roots(x509Roots []*x509.Certificate) []*x509.Certificate
CopyX509Roots 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.1
- Published
- Apr 22, 2020
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 29 minutes ago –
Tools for package owners.