interface GenParams {
    importPkcs8?: [pkcs8: Uint8Array, spki: Uint8Array];
    modulusLength?: 2048 | 4096;
}

Properties

importPkcs8?: [pkcs8: Uint8Array, spki: Uint8Array]

Import PKCS#8 private key and SPKI public key instead of generating.

modulusLength?: 2048 | 4096