Type Alias PrivateKeySignerOptions

PrivateKeySignerOptions: {
    algorithm?: string;
    keyId?: string;
    privateJwk: PrivateJwk;
}

Input to PrivateKeySigner constructor.

Type declaration

  • Optionalalgorithm?: string

    If not specified, the constructor will attempt to default/fall back to the alg value in the given privateJwk.

  • OptionalkeyId?: string

    If not specified, the constructor will attempt to default/fall back to the kid value in the given privateJwk.

  • privateJwk: PrivateJwk

    Private JWK to create the signer from.