Interface JWSVerifier
-
@ThreadSafe public interface JWSVerifier
Interface exposed by the Connect2id server for verifying JSON Web Signatures (JWS), such as for JSON Web Tokens (JWT) created by theJWTSigner
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
verifySignature(com.nimbusds.jose.JWSObject jwsObject)
Verifies the signature of the specified JWS object.
-
-
-
Method Detail
-
verifySignature
boolean verifySignature(com.nimbusds.jose.JWSObject jwsObject)
Verifies the signature of the specified JWS object.- Parameters:
jwsObject
- The JWS object. Must not benull
.- Returns:
true
if the signature is valid, elsefalse
.
-
-