decryptWith

Registers a JweProcessor to use for token decryption.

The processor is keyed by its JweProcessor.algorithm and JweProcessor.keyId; at parse time the parser selects the best matching processor from the registry.

Return

this builder for chaining

Parameters

processor

the JweProcessor that performs key unwrapping and payload decryption

See also