Class Index | File Index

Classes


Class KJUR.asn1.x509.SubjectDirectoryAttributes


Extends KJUR.asn1.x509.Extension.
SubjectDirectoryAttributes ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
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
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.
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

© 2012-2021 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0