MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / verifyHs512

Method verifyHs512

CodenameOne/src/com/codename1/security/Jwt.java:226–228  ·  view source on GitHub ↗
(byte[] secret)

Source from the content-addressed store, hash-verified

224
225 /// HMAC verification with HS512.
226 public boolean verifyHs512(byte[] secret) {
227 return verifyHmac(HS512, secret);
228 }
229
230 private boolean verifyHmac(String expectedAlg, byte[] secret) {
231 if (!expectedAlg.equals(getAlgorithm())) {

Callers 2

hs512_roundTripMethod · 0.95
invoke8Method · 0.80

Calls 1

verifyHmacMethod · 0.95

Tested by 1

hs512_roundTripMethod · 0.76