MutableJwtProcessorRegistry

Properties

Link copied to clipboard

The registry to fall back to when a key is not found locally.

Functions

Link copied to clipboard
abstract fun delegateTo(other: JwtProcessorRegistry)

Sets other as the delegate registry for this registry.

Link copied to clipboard

Returns the best available encryption key for algorithm and the optional keyId.

Link copied to clipboard
abstract fun findBestJwsProcessor(algorithm: SigningAlgorithm, keyId: String?): BaseJwsProcessor?

Returns the best available signing key for algorithm and the optional keyId.

Link copied to clipboard
abstract fun registerJweProcessor(processor: BaseJweProcessor, keyId: String? = processor.keyId)

Registers a BaseJweProcessor in this registry under its algorithm and optional keyId.

Link copied to clipboard
abstract fun registerJwsProcessor(processor: BaseJwsProcessor, keyId: String? = processor.keyId)

Registers a BaseJwsProcessor in this registry under its algorithm and optional keyId.