package pkix
Import Path
crypto/x509/pkix (on golang.org and go.dev)
Dependency Relation
imports 5 packages, and imported by one package
Involved Source Files
d-> pkix.go
Exported Type Names
type AlgorithmIdentifier (struct)
AlgorithmIdentifier represents the ASN.1 structure of the same name. See RFC
5280, section 4.1.1.2.
Algorithm asn1.ObjectIdentifier
Parameters asn1.RawValue
type AttributeTypeAndValue (struct)
AttributeTypeAndValue mirrors the ASN.1 structure of the same name in
RFC 5280, Section 4.1.2.4.
Type asn1.ObjectIdentifier
Value interface{}
type AttributeTypeAndValueSET (struct)
AttributeTypeAndValueSET represents a set of ASN.1 sequences of
AttributeTypeAndValue sequences from RFC 2986 (PKCS #10).
Type asn1.ObjectIdentifier
Value [][]AttributeTypeAndValue
type CertificateList (struct)
CertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1. Use Certificate.CheckCRLSignature to verify the
signature.
SignatureAlgorithm AlgorithmIdentifier
SignatureValue asn1.BitString
TBSCertList TBSCertificateList
(*T) HasExpired(now time.Time) bool
func crypto/x509.ParseCRL(crlBytes []byte) (*CertificateList, error)
func crypto/x509.ParseDERCRL(derBytes []byte) (*CertificateList, error)
func crypto/x509.(*Certificate).CheckCRLSignature(crl *CertificateList) error
type Extension (struct)
Extension represents the ASN.1 structure of the same name. See RFC
5280, section 4.2.
Critical bool
Id asn1.ObjectIdentifier
Value []byte
type Name (struct)
Name represents an X.509 distinguished name. This only includes the common
elements of a DN. Note that Name is only an approximation of the X.509
structure. If an accurate representation is needed, asn1.Unmarshal the raw
subject or issuer as an RDNSequence.
CommonName string
Country []string
ExtraNames []AttributeTypeAndValue
Locality []string
Names []AttributeTypeAndValue
Organization []string
OrganizationalUnit []string
PostalCode []string
Province []string
SerialNumber string
StreetAddress []string
(*T) FillFromRDNSequence(rdns *RDNSequence)
(T) String() string
(T) ToRDNSequence() (ret RDNSequence)
T : fmt.Stringer
type RDNSequence ([])
(T) String() string
T : fmt.Stringer
func Name.ToRDNSequence() (ret RDNSequence)
func (*Name).FillFromRDNSequence(rdns *RDNSequence)
type RelativeDistinguishedNameSET ([])
type RevokedCertificate (struct)
RevokedCertificate represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.
Extensions []Extension
RevocationTime time.Time
SerialNumber *big.Int
func crypto/x509.(*Certificate).CreateCRL(rand io.Reader, priv interface{}, revokedCerts []RevokedCertificate, now, expiry time.Time) (crlBytes []byte, err error)
type TBSCertificateList (struct)
TBSCertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.
Extensions []Extension
Issuer RDNSequence
NextUpdate time.Time
Raw asn1.RawContent
RevokedCertificates []RevokedCertificate
Signature AlgorithmIdentifier
ThisUpdate time.Time
Version int
![]() |
The pages are generated with Golds v0.1.6. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project and developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |