Class KJUR.asn1.ASN1Object
base class for ASN.1 DER encoder object
Defined in: asn1-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.ASN1Object(params)
base class for ASN.1 DER encoder object
This class is ASN.1 DER object encode base class. |
Field Attributes | Field Name and Description |
---|---|
hexadecimal string of ASN.1 TLV length(L)
|
|
hexadecimal string of ASN.1 TLV tag(T)
|
|
hexadecimal string of ASN.1 TLV
|
|
hexadecimal string of ASN.1 TLV value(V)
|
|
flag whether internal data was changed
|
|
JSON object parameter for ASN.1 encode
|
Method Attributes | Method Name and Description |
---|---|
get hexadecimal string of ASN.1 TLV bytes (DEPRECATED)
|
|
get hexadecimal ASN.1 TLV length(L) bytes from TLV value(V)
|
|
get hexadecimal string of ASN.1 TLV value(V) bytes
|
|
tohex()
get hexadecimal string of ASN.1 TLV bytes
|
Class Detail
KJUR.asn1.ASN1Object(params)
base class for ASN.1 DER encoder object
This class is ASN.1 DER object encode base class.
This class is ASN.1 DER object encode base class.
new KJUR.asn1.ASN1Object({tlv: "030101"})
- Parameters:
- {Array} params
- JSON object parameter for constructor
Field Detail
{String}
hL
hexadecimal string of ASN.1 TLV length(L)
{String}
hT
hexadecimal string of ASN.1 TLV tag(T)
{String}
hTLV
hexadecimal string of ASN.1 TLV
{String}
hV
hexadecimal string of ASN.1 TLV value(V)
{Boolean}
isModified
flag whether internal data was changed
{Array}
params
JSON object parameter for ASN.1 encode
Method Detail
{String}
getEncodedHex()
get hexadecimal string of ASN.1 TLV bytes (DEPRECATED)
- Deprecated:
- since jsrsasign 10.5.16 please use KJUR.asn1.ASN1Object#tohex
- Returns:
- {String} hexadecimal string of ASN.1 TLV
{String}
getLengthHexFromValue()
get hexadecimal ASN.1 TLV length(L) bytes from TLV value(V)
- Returns:
- {String} hexadecimal string of ASN.1 TLV length(L)
{String}
getValueHex()
get hexadecimal string of ASN.1 TLV value(V) bytes
- Returns:
- {String} hexadecimal string of ASN.1 TLV value(V) bytes
{String}
tohex()
get hexadecimal string of ASN.1 TLV bytes
...ASN1ObjectInstance.tohex() → "3003020101"
- Since:
- jsrsasign 10.5.16 asn1 1.0.24
- Returns:
- {String} hexadecimal string of ASN.1 TLV