registerJweProcessor
abstract fun registerJweProcessor(processor: BaseJweProcessor, keyId: String? = processor.keyId)(source)
Registers a BaseJweProcessor in this registry under its algorithm and optional keyId.
If a processor for the same algorithm and key ID is already registered, the two are merged into a combined co.touchlab.kjwt.processor.JweProcessor via co.touchlab.kjwt.ext.mergeWith.
Parameters
processor
the processor to register
keyId
optional key ID; null acts as a catch-all for the given algorithm