libp2p
    Preparing search index...

    Interface RSAPrivateKey

    Generic private key interface

    interface RSAPrivateKey {
        jwk: JsonWebKey;
        publicKey: RSAPublicKey;
        raw: Uint8Array;
        type: "RSA";
        equals(key?: any): boolean;
        sign(
            data: Uint8Array<ArrayBufferLike> | Uint8ArrayList,
        ): Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>>;
    }
    Index

    Properties

    Methods

    Properties

    jwk: JsonWebKey

    The private key as a JSON web key

    publicKey: RSAPublicKey

    The public key that corresponds to this private key

    PKIX in ASN1 DER format

    type: "RSA"

    The type of this key

    Methods