SimpleProcessor

Properties

Link copied to clipboard
open override val algorithm: SigningAlgorithm

The JWS signing algorithm this processor implements.

Link copied to clipboard
open override val keyId: String? = null

The optional key ID (kid) associated with the key material used by this processor.

Functions

Link copied to clipboard

Merges this BaseJwsProcessor with other, producing a combined JwsProcessor that supports both signing and verification.

Link copied to clipboard
open suspend override fun sign(data: ByteArray): ByteArray

Signs data and returns the raw signature bytes.

Link copied to clipboard
open suspend override fun verify(data: ByteArray, signature: ByteArray): Boolean

Verifies that signature is a valid signature over data.