@capgo/cli
Version:
A CLI to upload to capgo servers
12 lines (11 loc) • 477 B
TypeScript
import type { PrescanCheck } from '../types';
import forge from 'node-forge';
export interface OpenedP12 {
cert: forge.pki.Certificate;
sha1: string;
}
/** Open the saved P12; throws on wrong password / garbage. Exported for reuse by pairing check. */
export declare function openP12(base64: string, password: string): OpenedP12;
export declare const p12Opens: PrescanCheck;
export declare const p12Expiry: PrescanCheck;
export declare const ascKeyValid: PrescanCheck;