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 the JWTSigner.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    verifySignature(com.nimbusds.jose.JWSObject jwsObject)
    Verifies the signature of the specified JWS object.
  • Method Details

    • verifySignature

      boolean verifySignature(com.nimbusds.jose.JWSObject jwsObject)
      Verifies the signature of the specified JWS object.
      Parameters:
      jwsObject - The JWS object. Must not be null.
      Returns:
      true if the signature is valid, else false.