- All Superinterfaces:
JWA
A JWA signer is used to sign data and or verify data signature.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Methods inherited from interface io.inverno.mod.security.jose.jwa.JWA
getProcessedParameters
-
Method Details
-
sign
Signs the specified data and returns the signature.
- Parameters:
data
- the data to sign- Returns:
- a signature
- Throws:
JWASignatureException
- if there was an error signing data
-
verify
Verifies the specified signature for the specified data.
- Parameters:
data
- the datasignature
- the signature- Returns:
- true if the signature is valid, false otherwise
- Throws:
JWASignatureException
- if there was an error verifying signature
-