Package io.fusionauth.jwt
Interface Signer
- All Known Implementing Classes:
ECSigner,HMACSigner,RSAPSSSigner,RSASigner,UnsecuredSigner
public interface Signer
JWT Signer.
- Author:
- Daniel DeGroff
-
Method Summary
-
Method Details
-
getAlgorithm
Algorithm getAlgorithm()Return the algorithm supported by this signer.- Returns:
- the algorithm.
-
getKid
Return the kid used for this signer.- Returns:
- the kid
-
sign
Sign the provided message and return the signature.- Parameters:
payload- The JWT payload to sign.- Returns:
- The message signature in a byte array.
-