UNPKG

@funded-labs/plug-controller

Version:

Internet Computer Plug wallet's controller

17 lines (16 loc) 626 B
import { DerEncodedPublicKey, PublicKey } from '@dfinity/agent'; declare class Secp256k1PublicKey implements PublicKey { static fromRaw(rawKey: ArrayBuffer): Secp256k1PublicKey; static fromDer(derKey: ArrayBuffer | DerEncodedPublicKey): Secp256k1PublicKey; static from(key: PublicKey): Secp256k1PublicKey; private static RAW_KEY_LENGTH; private static DER_PREFIX; private static derEncode; private static derDecode; private readonly rawKey; private readonly derKey; private constructor(); toDer(): DerEncodedPublicKey; toRaw(): ArrayBuffer; } export default Secp256k1PublicKey;