| Modifier and Type | Method and Description |
|---|---|
Algorithm |
getAlgorithm()
Return the algorithm supported by this signer.
|
static HMACSigner |
newSHA256Signer(String secret) |
static HMACSigner |
newSHA384Signer(String secret) |
static HMACSigner |
newSHA512Signer(String secret) |
byte[] |
sign(String message)
Sign the provided message and return the signature.
|
public static HMACSigner newSHA256Signer(String secret)
public static HMACSigner newSHA384Signer(String secret)
public static HMACSigner newSHA512Signer(String secret)
public Algorithm getAlgorithm()
SignergetAlgorithm in interface SignerCopyright © 2017. All rights reserved.