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