Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRLLocations ¶
type CertificateChain ¶
type CertificateChain struct {
CertificateChainEntryList []CertificateChainEntry
}
func (*CertificateChain) AddCertificateChainEntry ¶
func (c *CertificateChain) AddCertificateChainEntry(entry *CertificateChainEntry)
type CertificateChainEntry ¶
type CertificateChainEntry struct { RawCertificate []byte Certificate *x509.Certificate }
func FindCertificateIssuerCandidates ¶
func FindCertificateIssuerCandidates(issuer *pkix.RDNSequence, extensions *[]pkix.Extension, algorithmID x509.PublicKeyAlgorithm, chains *CertificateChains) ([]*CertificateChainEntry, error)
Implemenation according to rfc5280 section 5.2.1
type CertificateChains ¶
type CertificateChains struct {
CertificateChainList []CertificateChain
}
func NewCertificateChains ¶
func NewCertificateChains(verifiedChains [][]*x509.Certificate, trustedSignerCerts []*x509.Certificate) *CertificateChains
func NewCertificateChainsFromEntry ¶
func NewCertificateChainsFromEntry(chainEntry *CertificateChainEntry) *CertificateChains
func (*CertificateChains) AddCertificateChain ¶
func (c *CertificateChains) AddCertificateChain(chain CertificateChain)
type RevocationStatus ¶
type RevocationStatus struct { Revoked bool CRLRevokedCertEntry *pkix.RevokedCertificate OcspResponse *ocsp.Response }
Click to show internal directories.
Click to hide internal directories.