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

Properties

importPkcs8?: [
    pkcs8: Uint8Array<ArrayBufferLike>,
    spki: Uint8Array<ArrayBufferLike>,
]

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

modulusLength?: 2048 | 4096