Class Index | File Index

Classes


Class KJUR.asn1.x509.DisplayText


Extends KJUR.asn1.DERAbstractString.
DisplayText ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
DisplayText ASN.1 structure class This class represents DisplayText defined in RFC 5280 4.2.1.4.
Fields borrowed from class KJUR.asn1.DERAbstractString:
s
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified, params
Methods borrowed from class KJUR.asn1.DERAbstractString:
getString, setString, setStringHex
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex
Class Detail
KJUR.asn1.x509.DisplayText(params)
DisplayText ASN.1 structure class This class represents DisplayText defined in RFC 5280 4.2.1.4.
-- from RFC 5280 Appendix A
DisplayText ::= CHOICE {
     ia5String        IA5String      (SIZE (1..200)),
     visibleString    VisibleString  (SIZE (1..200)),
     bmpString        BMPString      (SIZE (1..200)),
     utf8String       UTF8String     (SIZE (1..200)) }
KJUR.asn1.DERAbstractString parameters and methods can be used. Its constructor can also have following parameter:
  • {String} type - DirectoryString type of DisplayText. "ia5" for IA5String, "vis" for VisibleString, "bmp" for BMPString and "utf8" for UTF8String. Default is "utf8". (OPTIONAL)
new DisplayText({type: "bmp", str: "Sample Org"})
new DisplayText({type: "ia5", str: "Sample Org"})
new DisplayText({str: "Sample Org"})
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 8.0.23 asn1x509 1.1.12

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