Class Index | File Index

Classes


Class KJUR.asn1.x509.SubjectAltName


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

Class Summary
Constructor Attributes Constructor Name and Description
 
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.
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
See:
KJUR.asn1.x509.GeneralNames
KJUR.asn1.x509.GeneralName

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