This package is not in the latest version of its module.
Go to latest Published: May 7, 2026 License: BSD-3-ClauseThe Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Modules with tagged versions give importers more predictable builds.
When a project reaches major version v1 it is considered stable.
Package pkix contains shared, low level structures used for ASN.1 parsing and serialization of X.509 certificates, CRL and OCSP.
This section is empty.
This section is empty.
This section is empty.
AlgorithmIdentifier represents the ASN.1 structure of the same name. See RFC 5280, section 4.1.1.2.
AttributeTypeAndValue mirrors the ASN.1 structure of the same name in RFC 5280, Section 4.1.2.4.
AttributeTypeAndValueSET represents a set of ASN.1 sequences of AttributeTypeAndValue sequences from RFC 2986 (PKCS #10).
CertificateList represents the ASN.1 structure of the same name. See RFC 5280, section 5.1. Use Certificate.CheckCRLSignature to verify the signature.
Deprecated: x509.RevocationList should be used instead.
HasExpired reports whether certList should have been updated by now.
Extension represents the ASN.1 structure of the same name. See RFC 5280, section 4.2.
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.
FillFromRDNSequence populates n from the provided RDNSequence. Multi-entry RDNs are flattened, all entries are added to the relevant n fields, and the grouping is not preserved.
String returns the string form of n, roughly following the RFC 2253 Distinguished Names syntax.
ToRDNSequence converts n into a single RDNSequence. The following attributes are encoded as multi-value RDNs:
Each ExtraNames entry is encoded as an individual RDN.
String returns a string representation of the sequence r, roughly following the RFC 2253 Distinguished Names syntax.
RevokedCertificate represents the ASN.1 structure of the same name. See RFC 5280, section 5.1.
TBSCertificateList represents the ASN.1 structure of the same name. See RFC 5280, section 5.1.
Deprecated: x509.RevocationList should be used instead.
| ? | : This menu |
| / | : Search site |
| f or F | : Jump to |
| y or Y | : Canonical URL |