LegacyPemEncryptionOptions
Options for OpenSSL-style Proc-Type: 4,ENCRYPTED PEM encryption (PKCS#1/SEC1).
ts
interface LegacyPemEncryptionOptions {
readonly password: string;
readonly iv?: Uint8Array;
readonly cipher?: AES-128-CBC | AES-192-CBC | AES-256-CBC;
}Properties
readonlypassword:string— Passphrase used to derive the encryption key.readonlyiv?:Uint8Array— 16-byte initialization vector. Random when omitted.readonlycipher?:AES-128-CBC|AES-192-CBC|AES-256-CBC— AES-CBC cipher. Defaults to'AES-256-CBC'.