Interface SignatureConfiguration

    • Method Detail

      • supportedAlgorithmsMessage

        java.lang.String supportedAlgorithmsMessage()
        Returns:
        A message indicating the supported algorithms.
      • supports

        boolean supports​(com.nimbusds.jose.JWSAlgorithm algorithm)
        Whether this signature configuration supports this algorithm.
        Parameters:
        algorithm - the signature algorithm
        Returns:
        whether this signature configuration supports this algorithm
      • verify

        boolean verify​(com.nimbusds.jwt.SignedJWT jwt)
                throws com.nimbusds.jose.JOSEException
        Verify a signed JWT.
        Parameters:
        jwt - the signed JWT
        Returns:
        whether the signed JWT is verified
        Throws:
        com.nimbusds.jose.JOSEException - exception when verifying the JWT