Crypto Lib
    Preparing search index...

    Type Alias dataReformat

    Parameters for reformatting an existing OpenPGP key.

    type dataReformat = {
        date: Date;
        email: string;
        expiration: number;
        name: string;
        passphrase: string;
        publicKey: string;
    }
    Index
    date: Date

    Creation date to set on the reformatted key.

    email: string

    New email address for the reformatted key's user ID.

    expiration: number

    Seconds until the reformatted key expires (0 for no expiration).

    name: string

    New display name for the reformatted key's user ID.

    passphrase: string

    Passphrase to unlock (and re-encrypt) the private key.

    publicKey: string

    Armored public key to reformat.