@haxall/haxall
    Preparing search index...

    Interface ECKeyPairOptions<PubF, PrivF>

    interface ECKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
        namedCurve: string;
        paramEncoding?: "explicit" | "named";
        privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
            type: "pkcs8" | "sec1";
        };
        publicKeyEncoding: { format: PubF; type: "pkcs1"
        | "spki" };
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    namedCurve: string

    Name of the curve to use

    paramEncoding?: "explicit" | "named"

    Must be 'named' or 'explicit'. Default: 'named'.

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