18 lines
474 B
Plaintext
18 lines
474 B
Plaintext
import * as asn1js from "asn1js";
|
|
/**
|
|
* Serializes objects into ASN.1 encoded data
|
|
*/
|
|
export declare class AsnSerializer {
|
|
/**
|
|
* Serializes an object to the ASN.1 encoded buffer
|
|
* @param obj The object to serialize
|
|
*/
|
|
static serialize(obj: unknown): ArrayBuffer;
|
|
/**
|
|
* Serialize an object to the asn1js object
|
|
* @param obj The object to serialize
|
|
*/
|
|
static toASN(obj: unknown): asn1js.AsnType;
|
|
private static toAsnItem;
|
|
}
|