Versions in this module Expand all Collapse all v0 v0.0.1 Feb 25, 2022 Changes in this version + func IsCertificatesEqual(a, b *Container) bool + func VerifyPartialChain(cert *Container, parents []*Container) error + type Container struct + Raw asn1.RawContent + SignatureAlgorithm pkix.AlgorithmIdentifier + SignatureValue asn1.BitString + TBSCertificate tbscertificate.Container + func DecodeDER(derData containers.DER) ([]*Container, error) + func DecodePEM(pemData containers.PEM) ([]*Container, error) + func DecodePEMFile(file string) ([]*Container, error) + func (c *Container) CheckSignature(algo *signaturealgorithm.SignatureAlgorithm, signedSource, signature []byte) (err error) + func (c *Container) CheckSignatureFrom(parent *Container) error + func (c *Container) EncodeToDER() (containers.DER, error) + func (c *Container) EncodeToPEM() (containers.PEM, error) + func (c *Container) GetSource() *Container + func (c *Container) IsValidOnDate(date time.Time) bool + type PKCS1PublicKey struct + E int + N *big.Int + type Service interface + CheckSignature func(algo *signaturealgorithm.SignatureAlgorithm, signedSource, signature []byte) (err error) + CheckSignatureFrom func(parent *Container) error + EncodeToDER func() ([]byte, error) + EncodeToPEM func() ([]byte, error) + GetSource func() *Container + IsValidOnDate func(date time.Time) bool + type VerifyDigestError struct + func (e *VerifyDigestError) Error() string + func (e *VerifyDigestError) Is(target error) bool