Interface DSAKeyPairOptions<PubF, PrivF>

interface DSAKeyPairOptions<PubF, PrivF> {
    divisorLength: number;
    modulusLength: number;
    privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
        type: "pkcs8";
    };
    publicKeyEncoding: {
        format: PubF;
        type: "spki";
    };
}

Type Parameters

Properties

divisorLength: number

Size of q in bits

modulusLength: number

Key size in bits

privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
    type: "pkcs8";
}
publicKeyEncoding: {
    format: PubF;
    type: "spki";
}