UNPKG

@reclaimprotocol/tls

Version:

TLS 1.2/1.3 for any JavaScript Environment

4 lines (3 loc) 235 B
import type { PublicKey as RSAPubKey } from 'micro-rsa-dsa-dh/rsa.js'; export declare function parseRsaPublicKeyFromAsn1(asn1: Uint8Array): RSAPubKey; export declare function bufToUint8Array(buf: ArrayBuffer | Uint8Array): Uint8Array;