bothy-sdk
    Preparing search index...

    Interface DpopSigner

    A DPoP key behind any key store (for example an HSM): its JWS algorithm, its public JWK and a signer. An adapter plugs a key store without a new SDK dependency.

    interface DpopSigner {
        alg: DpopAlgorithm;
        publicJwk: Readonly<Record<string, string>>;
        sign(data: Uint8Array): Promise<Uint8Array<ArrayBufferLike>>;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    The JWS alg of the proofs.

    publicJwk: Readonly<Record<string, string>>

    The public JWK without private members.

    Methods

    • Returns the JWS signature of data in the form of alg (64-byte R || S for ES256).

      Parameters

      • data: Uint8Array

        The JWS signing input.

      Returns Promise<Uint8Array<ArrayBufferLike>>