Class KJUR.asn1.x509.SubjectAltName
Extends
KJUR.asn1.x509.Extension.
SubjectAltName ASN.1 structure class
Defined in: asn1x509-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.x509.SubjectAltName(params)
SubjectAltName ASN.1 structure class
This class provides X.509v3 SubjectAltName extension. |
- 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.SubjectAltName(params)
SubjectAltName ASN.1 structure class
This class provides X.509v3 SubjectAltName extension.
This class provides X.509v3 SubjectAltName extension.
id-ce-subjectAltName OBJECT IDENTIFIER ::= { id-ce 17 } SubjectAltName ::= GeneralNames GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName GeneralName ::= CHOICE { otherName [0] OtherName, rfc822Name [1] IA5String, dNSName [2] IA5String, x400Address [3] ORAddress, directoryName [4] Name, ediPartyName [5] EDIPartyName, uniformResourceIdentifier [6] IA5String, iPAddress [7] OCTET STRING, registeredID [8] OBJECT IDENTIFIER }
e1 = new KJUR.asn1.x509.SubjectAltName({ critical: true, array: [{uri: 'http://aaa.com/'}, {uri: 'http://bbb.com/'}] });
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 6.2.3 asn1x509 1.0.19