UNPKG

@dfinity/agent

Version:

JavaScript and TypeScript library to interact with the Internet Computer

16 lines 613 B
import { type DerEncodedPublicKey, type PublicKey } from './auth.ts'; export declare class Ed25519PublicKey implements PublicKey { #private; static from(key: PublicKey): Ed25519PublicKey; static fromRaw(rawKey: Uint8Array): Ed25519PublicKey; static fromDer(derKey: DerEncodedPublicKey): Ed25519PublicKey; private static RAW_KEY_LENGTH; private static derEncode; private static derDecode; get rawKey(): Uint8Array; get derKey(): DerEncodedPublicKey; private constructor(); toDer(): DerEncodedPublicKey; toRaw(): Uint8Array; } //# sourceMappingURL=public_key.d.ts.map