Versions in this module Expand all Collapse all v1 v1.0.0 Mar 3, 2023 Changes in this version + type SMCertPool struct + type SMCertificate struct + AuthorityKeyId []byte + BasicConstraintsValid bool + CRLDistributionPoints []string + DNSNames []string + EmailAddresses []string + ExcludedDNSDomains []string + ExcludedEmailAddresses []string + ExcludedIPRanges []*net.IPNet + ExcludedURIDomains []string + ExtKeyUsage []x509.ExtKeyUsage + Extensions []pkix.Extension + ExtraExtensions []pkix.Extension + IPAddresses []net.IP + IsCA bool + Issuer pkix.Name + IssuingCertificateURL []string + KeyUsage x509.KeyUsage + MaxPathLen int + MaxPathLenZero bool + NotAfter time.Time + NotBefore time.Time + OCSPServer []string + PermittedDNSDomains []string + PermittedDNSDomainsCritical bool + PermittedEmailAddresses []string + PermittedIPRanges []*net.IPNet + PermittedURIDomains []string + PolicyIdentifiers []asn1.ObjectIdentifier + PublicKey interface{} + PublicKeyAlgorithm x509.PublicKeyAlgorithm + Raw []byte + RawIssuer []byte + RawSubject []byte + RawSubjectPublicKeyInfo []byte + RawTBSCertificate []byte + SerialNumber *big.Int + Signature []byte + SignatureAlgorithm x509.SignatureAlgorithm + Subject pkix.Name + SubjectKeyId []byte + URIs []*url.URL + UnhandledCriticalExtensions []asn1.ObjectIdentifier + UnknownExtKeyUsage []asn1.ObjectIdentifier + Version int + func (smc *SMCertificate) CheckSignature(algo x509.SignatureAlgorithm, signed, signature []byte) error + func (smc *SMCertificate) CheckSignatureFrom(parent *SMCertificate) error + func (smc *SMCertificate) SMVerify(optsx x509.VerifyOptions) (chains [][]*x509.Certificate, err error) + type SMVerifyOptions struct + CurrentTime time.Time + DNSName string + Intermediates *SMCertPool + KeyUsages []x509.ExtKeyUsage + MaxConstraintComparisions int + Roots *SMCertPool + type UnknownAuthorityError struct + Cert *x509.Certificate + func (e UnknownAuthorityError) Error() string