| Modifier and Type | Method and Description |
|---|---|
boolean |
canVerify(Algorithm algorithm) |
static RSAVerifier |
newVerifier(String publicKey)
Return a new instance of the RSA Verifier with the provided public secret.
|
void |
verify(Algorithm algorithm,
byte[] payload,
byte[] signature)
Verify the signature of the encoded JWT payload.
|
public static RSAVerifier newVerifier(String publicKey)
publicKey - The RSA public key PEM.public boolean canVerify(Algorithm algorithm)
Copyright © 2017. All rights reserved.