Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainVerifier ¶
type ChainVerifier struct{}
func (*ChainVerifier) Verify ¶
func (v *ChainVerifier) Verify(chain []*x509.Certificate, rootCertificates []*x509.Certificate) error
type PemCertificateParser ¶
type PemCertificateParser struct{}
func (*PemCertificateParser) Parse ¶
func (p *PemCertificateParser) Parse(certBytes []byte) (*x509.Certificate, error)
type RevocationVerifier ¶
type RevocationVerifier struct{}
func (*RevocationVerifier) IsRevoked ¶
func (v *RevocationVerifier) IsRevoked(certificate *x509.Certificate, crl *pkix.CertificateList) bool
func (*RevocationVerifier) Verify ¶
func (v *RevocationVerifier) Verify(certificate *x509.Certificate) bool
Click to show internal directories.
Click to hide internal directories.