@haxall/haxall
    Preparing search index...

    Interface RSAPSSKeyPairOptions<PubF, PrivF>

    interface RSAPSSKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
        hashAlgorithm?: string;
        mgf1HashAlgorithm?: string;
        modulusLength: number;
        privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
            type: "pkcs8";
        };
        publicExponent?: number;
        publicKeyEncoding: { format: PubF; type: "spki" };
        saltLength?: string;
    }

    Type Parameters

    Index

    Properties

    hashAlgorithm?: string

    Name of the message digest

    mgf1HashAlgorithm?: string

    Name of the message digest used by MGF1

    modulusLength: number

    Key size in bits

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

    Public exponent

    0x10001
    
    publicKeyEncoding: { format: PubF; type: "spki" }
    saltLength?: string

    Minimal salt length in bytes