Class Index | File Index

Classes


Class KJUR.asn1.ASN1Object

base class for ASN.1 DER encoder object
Defined in: asn1-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
base class for ASN.1 DER encoder object
This class is ASN.1 DER object encode base class.
Field Summary
Field Attributes Field Name and Description
 
hL
hexadecimal string of ASN.1 TLV length(L)
 
hT
hexadecimal string of ASN.1 TLV tag(T)
 
hexadecimal string of ASN.1 TLV
 
hV
hexadecimal string of ASN.1 TLV value(V)
 
flag whether internal data was changed
 
JSON object parameter for ASN.1 encode
Method Summary
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
 
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.
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
See:
KJUR.asn1.ASN1Object#getEncodedHex

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