RsaKeyAlgorithmInput
RsaKeyAlgorithmInput
RSA variant of KeyAlgorithmInput.
ts
interface RsaKeyAlgorithmInput {
readonly kind: "rsa";
readonly modulusLength?: 2048 | 3072 | 4096;
readonly hash?: RsaHash;
readonly scheme?: RsaScheme;
}Properties
readonlykind:"rsa"— Discriminant selecting RSA key generation.readonlymodulusLength?:2048|3072|4096— RSA modulus size in bits. Defaults to2048.readonlyhash?:RsaHash— Hash algorithm for the key. Defaults to'SHA-256'.readonlyscheme?:RsaScheme— Padding scheme. Defaults to'pkcs1-v1_5'. Pass'oaep'to generate an RSA-OAEP encryption pair (encrypt/decryptusages instead ofsign/verify).