# Interface AsymmetricKeyDetails

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

- Defined in node_modules/@types/node/crypto.d.ts:529

#####
Index

### Properties

modulusLength?
publicExponent?
hashAlgorithm?
mgf1HashAlgorithm?
saltLength?
divisorLength?
namedCurve?

##
Properties

### `Optional` modulusLength

modulusLength?: number

Key size in bits (RSA, DSA).

- Defined in node_modules/@types/node/crypto.d.ts:533

### `Optional` publicExponent

publicExponent?: bigint

Public exponent (RSA).

- Defined in node_modules/@types/node/crypto.d.ts:537

### `Optional` hashAlgorithm

hashAlgorithm?: string

Name of the message digest (RSA-PSS).

- Defined in node_modules/@types/node/crypto.d.ts:541

### `Optional` mgf1HashAlgorithm

mgf1HashAlgorithm?: string

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

- Defined in node_modules/@types/node/crypto.d.ts:545

### `Optional` saltLength

saltLength?: number

Minimal salt length in bytes (RSA-PSS).

- Defined in node_modules/@types/node/crypto.d.ts:549

### `Optional` divisorLength

divisorLength?: number

Size of q in bits (DSA).

- Defined in node_modules/@types/node/crypto.d.ts:553

### `Optional` namedCurve

namedCurve?: string

Name of the curve (EC).

- Defined in node_modules/@types/node/crypto.d.ts:557