@types/jsrsasign
Version:
TypeScript definitions for jsrsasign
47 lines (36 loc) • 1.25 kB
TypeScript
declare namespace jsrsasign.KJUR.asn1 {
/** base class for ASN.1 DER encoder object */
class ASN1Object {
constructor(params?: { tlv?: string });
/** flag whether internal data was changed */
isModified: string;
/** hexadecimal string of ASN.1 TLV */
hTLV: string;
/** hexadecimal string of ASN.1 TLV tag(T) */
hT: string;
/** hexadecimal string of ASN.1 TLV length(L) */
hL: string;
/** hexadecimal string of ASN.1 TLV value(V) */
hV: string;
/** JSON object parameter for ASN.1 encode */
params: {
tlv?: string;
} | null;
/**
* get hexadecimal ASN.1 TLV length(L) bytes from TLV value(V)
* @return hexadecimal string of ASN.1 TLV length(L)
*/
getLengthHexFromValue(): string;
/**
* get hexadecimal string of ASN.1 TLV bytes
* @return hexadecimal string of ASN.1 TLV
*/
getEncodedHex(): string;
/**
* get hexadecimal string of ASN.1 TLV value(V) bytes
* @return hexadecimal string of ASN.1 TLV value(V) bytes
*/
getValueHex(): string;
getFreshValueHex(): string;
}
}