Class Index | File Index

Classes


Class KJUR.asn1.DERAbstractString


Extends KJUR.asn1.ASN1Object.
base class for ASN.1 DER string classes
Defined in: asn1-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
base class for ASN.1 DER string classes
As for argument 'params' for constructor, you can specify one of following properties:
  • str - specify initial ASN.1 value(V) by a string
  • hex - specify initial ASN.1 value(V) by a hexadecimal string
NOTE: 'params' can be omitted.
Field Summary
Field Attributes Field Name and Description
 
s
internal string of value
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified
Method Summary
Method Attributes Method Name and Description
<static>  
KJUR.asn1.DERAbstractString.getString()
get string value of this string object
<static>  
KJUR.asn1.DERAbstractString.setString(newS)
set value by a string
<static>  
KJUR.asn1.DERAbstractString.setStringHex(newHexString)
set value by a hexadecimal string
Class Detail
KJUR.asn1.DERAbstractString(params)
base class for ASN.1 DER string classes
As for argument 'params' for constructor, you can specify one of following properties:
  • str - specify initial ASN.1 value(V) by a string
  • hex - specify initial ASN.1 value(V) by a hexadecimal string
NOTE: 'params' can be omitted.
Parameters:
{Array} params
associative array of parameters (ex. {'str': 'aaa'})
Field Detail
{String} s
internal string of value
Method Detail
<static> {String} KJUR.asn1.DERAbstractString.getString()
get string value of this string object
Returns:
{String} string value of this string object

<static> KJUR.asn1.DERAbstractString.setString(newS)
set value by a string
Parameters:
{String} newS
value by a string to set

<static> KJUR.asn1.DERAbstractString.setStringHex(newHexString)
set value by a hexadecimal string
Parameters:
{String} newHexString
value by a hexadecimal string to set

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