Namespace: go.std.crypto.x509.pkix
v1.0Contents
Summary
Provides a low-level interface to the crypto/x509/pkix package.
Package pkix contains shared, low level structures used for ASN.1 parsing
and serialization of X.509 certificates, CRL and OCSP.
Index
- *AlgorithmIdentifier
- *AttributeTypeAndValue
- *AttributeTypeAndValueSET
- *CertificateList
- *Extension
- *Name
- *RDNSequence
- *RelativeDistinguishedNameSET
- *RevokedCertificate
- *TBSCertificateList
- AlgorithmIdentifier
- AttributeTypeAndValue
- AttributeTypeAndValueSET
- CertificateList
- Extension
- Name
- RDNSequence
- RelativeDistinguishedNameSET
- RevokedCertificate
- TBSCertificateList
- arrayOfAlgorithmIdentifier
- arrayOfAttributeTypeAndValue
- arrayOfAttributeTypeAndValueSET
- arrayOfCertificateList
- arrayOfExtension
- arrayOfName
- arrayOfRDNSequence
- arrayOfRelativeDistinguishedNameSET
- arrayOfRevokedCertificate
- arrayOfTBSCertificateList
Legend
-
Constant
Variable
Function
Macro
Special form
Type
GoVar
Receiver/Method
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.-
(None.)
Variables
-
(None.)
Functions, Macros, and Special Forms
-
(None.)
Types
-
*AlgorithmIdentifier
Concrete Type v1.0AlgorithmIdentifier represents the ASN.1 structure of the same name. See RFC
5280, section 4.1.1.2.
-
*AttributeTypeAndValue
Concrete Type v1.0AttributeTypeAndValue mirrors the ASN.1 structure of the same name in
RFC 5280, Section 4.1.2.4.
-
*AttributeTypeAndValueSET
Concrete Type v1.0AttributeTypeAndValueSET represents a set of ASN.1 sequences of
AttributeTypeAndValue sequences from RFC 2986 (PKCS #10).
-
*CertificateList
Concrete Type v1.0CertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1. Use Certificate.CheckCRLSignature to verify the
signature.
-
HasExpired
Receiver for *CertificateList v1.0([now])
HasExpired reports whether certList should have been updated by now.
-
*Extension
Concrete Type v1.0Extension represents the ASN.1 structure of the same name. See RFC
5280, section 4.2.
-
*Name
Concrete Type v1.0Name 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
Receiver for *Name v1.0([rdns])
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.
-
*RDNSequence
Concrete Type v1.0 -
*RelativeDistinguishedNameSET
Concrete Type v1.0 -
*RevokedCertificate
Concrete Type v1.0RevokedCertificate represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.
-
*TBSCertificateList
Concrete Type v1.0TBSCertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.
-
AlgorithmIdentifier
Concrete Type v1.0AlgorithmIdentifier represents the ASN.1 structure of the same name. See RFC
5280, section 4.1.1.2.
-
AttributeTypeAndValue
Concrete Type v1.0AttributeTypeAndValue mirrors the ASN.1 structure of the same name in
RFC 5280, Section 4.1.2.4.
-
AttributeTypeAndValueSET
Concrete Type v1.0AttributeTypeAndValueSET represents a set of ASN.1 sequences of
AttributeTypeAndValue sequences from RFC 2986 (PKCS #10).
-
CertificateList
Concrete Type v1.0CertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1. Use Certificate.CheckCRLSignature to verify the
signature.
-
Extension
Concrete Type v1.0Extension represents the ASN.1 structure of the same name. See RFC
5280, section 4.2.
-
Name
Concrete Type v1.0Name 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.
-
String
Receiver for Name v1.0([])
String returns the string form of n, roughly following
the RFC 2253 Distinguished Names syntax.
-
ToRDNSequence
Receiver for Name v1.0([])
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.
-
RDNSequence
Concrete Type v1.0 -
String
Receiver for RDNSequence v1.0([])
String returns a string representation of the sequence r,
roughly following the RFC 2253 Distinguished Names syntax.
-
RelativeDistinguishedNameSET
Concrete Type v1.0 -
RevokedCertificate
Concrete Type v1.0RevokedCertificate represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.
-
TBSCertificateList
Concrete Type v1.0TBSCertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.
-
arrayOfAlgorithmIdentifier
Concrete Type v1.0AlgorithmIdentifier represents the ASN.1 structure of the same name. See RFC
5280, section 4.1.1.2.
-
arrayOfAttributeTypeAndValue
Concrete Type v1.0AttributeTypeAndValue mirrors the ASN.1 structure of the same name in
RFC 5280, Section 4.1.2.4.
-
arrayOfAttributeTypeAndValueSET
Concrete Type v1.0AttributeTypeAndValueSET represents a set of ASN.1 sequences of
AttributeTypeAndValue sequences from RFC 2986 (PKCS #10).
-
arrayOfCertificateList
Concrete Type v1.0CertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1. Use Certificate.CheckCRLSignature to verify the
signature.
-
arrayOfExtension
Concrete Type v1.0Extension represents the ASN.1 structure of the same name. See RFC
5280, section 4.2.
-
arrayOfName
Concrete Type v1.0Name 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.
-
arrayOfRDNSequence
Concrete Type v1.0 -
arrayOfRelativeDistinguishedNameSET
Concrete Type v1.0 -
arrayOfRevokedCertificate
Concrete Type v1.0RevokedCertificate represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.
-
arrayOfTBSCertificateList
Concrete Type v1.0TBSCertificateList represents the ASN.1 structure of the same name. See RFC
5280, section 5.1.