UNPKG

@ledgerhq/ledger-cal-service

Version:
24 lines 799 B
import { type ServiceOption } from "./common"; declare const DeviceModel: { readonly blue: "blue"; readonly nanoS: "nanos"; readonly nanoSP: "nanosp"; readonly nanoX: "nanox"; readonly stax: "stax"; /** Ledger Flex ("europa" is the internal name) */ readonly europa: "flex"; readonly flex: "flex"; }; export type Device = keyof typeof DeviceModel; type PublicKeyUsage = "trusted_name" | "coin_meta"; export type CertificateInfo = { descriptor: string; signature: string; }; /** * Retrieve PKI certificate * @param device */ export declare function getCertificate(device: Device, usage: PublicKeyUsage, version?: string | "latest", { env, signatureKind, ref, }?: ServiceOption): Promise<CertificateInfo>; export {}; //# sourceMappingURL=certificate.d.ts.map