Class KJUR.asn1.DERAbstractString
Extends
KJUR.asn1.ASN1Object.
base class for ASN.1 DER string classes
Defined in: asn1-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
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:
|
Field Attributes | Field Name and Description |
---|---|
internal string of value
|
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
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:
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
- 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