@libp2p/crypto
Version:
Crypto primitives for libp2p
10 lines • 495 B
TypeScript
import { Uint8ArrayList } from 'uint8arraylist';
interface Context {
offset: number;
}
export declare function decodeDer(buf: Uint8Array, context?: Context): any;
export declare function encodeInteger(value: Uint8Array | Uint8ArrayList): Uint8ArrayList;
export declare function encodeBitString(value: Uint8Array | Uint8ArrayList): Uint8ArrayList;
export declare function encodeSequence(values: Array<Uint8Array | Uint8ArrayList>): Uint8ArrayList;
export {};
//# sourceMappingURL=der.d.ts.map