interface AsymmetricKeyDetails {
    modulusLength?: number;
    publicExponent?: bigint;
    hashAlgorithm?: string;
    mgf1HashAlgorithm?: string;
    saltLength?: number;
    divisorLength?: number;
    namedCurve?: string;
}

Properties

modulusLength?: number

Key size in bits (RSA, DSA).

publicExponent?: bigint

Public exponent (RSA).

hashAlgorithm?: string

Name of the message digest (RSA-PSS).

mgf1HashAlgorithm?: string

Name of the message digest used by MGF1 (RSA-PSS).

saltLength?: number

Minimal salt length in bytes (RSA-PSS).

divisorLength?: number

Size of q in bits (DSA).

namedCurve?: string

Name of the curve (EC).