Crypto Lib
    Preparing search index...

    Interface ArmoredKeyResult

    The armoured key material openpgp.reformatKey / revokeKey return.

    Declared here rather than inferred: openpgp 6 types these as SerializedKeyPair<string> & { revocationCertificate: string }, and SerializedKeyPair is not exported from the package root, so TypeScript cannot name it in the emitted declarations (TS4023/TS4058). Both calls pass format: "armored", so every field is a string.

    interface ArmoredKeyResult {
        publicKey: string;
        privateKey: string;
        revocationCertificate?: string;
    }
    Index
    publicKey: string
    privateKey: string
    revocationCertificate?: string

    Present for reformatKey, absent for revokeKey — revoking a key produces no new certificate, the key itself carries the revocation.