Class KJUR.asn1.x509.SubjectDirectoryAttributes
Extends
KJUR.asn1.x509.Extension.
SubjectDirectoryAttributes ASN.1 structure class
Defined in: asn1x509-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SubjectDirectoryAttributes ASN.1 structure class
This class provides X.509v3 SubjectDirectoryAttributes extension defined in RFC 3739 Qualified Certificate Profile section 3.3.2. |
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified, params
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.x509.SubjectDirectoryAttributes(params)
SubjectDirectoryAttributes ASN.1 structure class
This class provides X.509v3 SubjectDirectoryAttributes extension defined in RFC 3739 Qualified Certificate Profile section 3.3.2.
This class provides X.509v3 SubjectDirectoryAttributes extension defined in RFC 3739 Qualified Certificate Profile section 3.3.2.
SubjectDirectoryAttributes ::= Attributes Attributes ::= SEQUENCE SIZE (1..MAX) OF Attribute Attribute ::= SEQUENCE { type AttributeType values SET OF AttributeValue } AttributeType ::= OBJECT IDENTIFIER AttributeValue ::= ANY DEFINED BY AttributeType
e1 = new KJUR.asn1.x509.SubjectDirectoryAttributes({ extname: "subjectDirectoryAttributes", array: [ { attr: "dateOfBirth", str: "19701231230000Z" }, { attr: "placeOfBirth", str: "Tokyo" }, { attr: "gender", str: "F" }, { attr: "countryOfCitizenship", str: "JP" }, { attr: "countryOfResidence", str: "JP" } ] });
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 10.1.9 asn1x509 2.1.7