Class Index | File Index

Classes


Class KJUR.asn1.x509.GeneralName

GeneralName ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
GeneralName ASN.1 structure class
As for argument 'params' for constructor, you can specify one of following properties:
  • rfc822 - rfc822Name[1] (ex.
Class Detail
KJUR.asn1.x509.GeneralName()
GeneralName ASN.1 structure class
As for argument 'params' for constructor, you can specify one of following properties:
  • rfc822 - rfc822Name[1] (ex. user1@foo.com)
  • dns - dNSName[2] (ex. foo.com)
  • uri - uniformResourceIdentifier[6] (ex. http://foo.com/)
NOTE: Currently this only supports 'uniformResourceIdentifier'.

EXAMPLE AND ASN.1 SYNTAX

var gn = new KJUR.asn1.x509.GeneralName({'uri': 'http://aaa.com/'});

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 }

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