public interface Signer
Modifier and Type | Method and Description |
---|---|
Algorithm |
getAlgorithm()
Return the algorithm supported by this signer.
|
default String |
getKid()
Return the kid used for this signer.
|
byte[] |
sign(String payload)
Sign the provided message and return the signature.
|
Algorithm getAlgorithm()
default String getKid()
byte[] sign(String payload)
payload
- The JWT payload to sign.Copyright © 2022. All rights reserved.