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 HasExpired reports whether certList should have been updated by now. 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 contains attributes to be copied, raw, into any marshaled distinguished names. Values override any attributes with the same OID. The ExtraNames field is not populated when parsing, see Names. Locality []string Names contains all parsed attributes. When parsing distinguished names, this can be used to extract non-standard attributes that are not parsed by this package. When marshaling to RDNSequences, the Names field is ignored, see ExtraNames. Organization []string OrganizationalUnit []string PostalCode []string Province []string SerialNumber string StreetAddress []string 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: - Country - Organization - OrganizationalUnit - Locality - Province - StreetAddress - PostalCode Each ExtraNames entry is encoded as an individual RDN. T : expvar.Var T : fmt.Stringer
type RDNSequence ([]) String returns a string representation of the sequence r, roughly following the RFC 2253 Distinguished Names syntax. T : expvar.Var T : fmt.Stringer func Name.ToRDNSequence() (ret RDNSequence) func (*Name).FillFromRDNSequence(rdns *RDNSequence)
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