UNPKG

@transmute/bls12381-key-pair

Version:
10 lines (9 loc) 1.08 kB
import { JsonWebKey2020, Bls12381G1Key2020, Bls12381G2Key2020 } from './types'; export declare const toJsonWebKey2020: (crv: string, id: string, controller: string, publicKey: Uint8Array, privateKey?: Uint8Array | undefined) => JsonWebKey2020; export declare const toBls12381G1Key2020: (crv: string, id: string, controller: string, publicKey: Uint8Array, privateKey?: Uint8Array | undefined) => Bls12381G1Key2020; export declare const toBls12381G2Key2020: (crv: string, id: string, controller: string, publicKey: Uint8Array, privateKey?: Uint8Array | undefined) => Bls12381G2Key2020; export declare const exportableTypes: { JsonWebKey2020: (crv: string, id: string, controller: string, publicKey: Uint8Array, privateKey?: Uint8Array | undefined) => JsonWebKey2020; Bls12381G1Key2020: (crv: string, id: string, controller: string, publicKey: Uint8Array, privateKey?: Uint8Array | undefined) => Bls12381G1Key2020; Bls12381G2Key2020: (crv: string, id: string, controller: string, publicKey: Uint8Array, privateKey?: Uint8Array | undefined) => Bls12381G2Key2020; };