@haxall/haxall
    Preparing search index...

    Interface RSAKeyPairOptions<PubF, PrivF>

    interface RSAKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
        modulusLength: number;
        privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
            type: "pkcs1" | "pkcs8";
        };
        publicExponent?: number;
        publicKeyEncoding: { format: PubF; type: "pkcs1"
        | "spki" };
    }

    Type Parameters

    Index

    Properties

    modulusLength: number

    Key size in bits

    privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
        type: "pkcs1" | "pkcs8";
    }
    publicExponent?: number

    Public exponent

    0x10001
    
    publicKeyEncoding: { format: PubF; type: "pkcs1" | "spki" }