libp2p
    Preparing search index...

    Interface ECDSAPrivateKey

    interface ECDSAPrivateKey {
        jwk: JsonWebKey;
        publicKey: ECDSAPublicKey;
        raw: Uint8Array;
        type: "ECDSA";
        equals(key?: any): boolean;
        sign(
            data: Uint8Array<ArrayBufferLike> | Uint8ArrayList,
            options?: AbortOptions,
        ): Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>>;
    }
    Index

    Properties

    Methods

    Properties

    jwk: JsonWebKey

    The private key as a JSON web key

    publicKey: ECDSAPublicKey

    The public key that corresponds to this private key

    The private key as a DER-encoded PKIMessage

    type: "ECDSA"

    The type of this key

    Methods