org.keycloak.crypto

## Class ClientECDSASignatureVerifierContext

- java.lang.Object
- - org.keycloak.crypto.AsymmetricSignatureVerifierContext
  - - org.keycloak.crypto.ClientECDSASignatureVerifierContext

- All Implemented Interfaces:
    SignatureVerifierContext

      public class ClientECDSASignatureVerifierContext
      extends AsymmetricSignatureVerifierContext

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientECDSASignatureVerifierContext(KeycloakSession session, ClientModel client, JWSInput input)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `verify(byte[] data, byte[] signature)`

    - ### Methods inherited from class org.keycloak.crypto.AsymmetricSignatureVerifierContext

      `getAlgorithm, getKid`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClientECDSASignatureVerifierContext

          public ClientECDSASignatureVerifierContext(KeycloakSession session,
                                                     ClientModel client,
                                                     JWSInput input)
                                              throws VerificationException

      Throws:
        `VerificationException`

  - ### Method Detail

    - #### verify

          public boolean verify(byte[] data,
                                byte[] signature)
                         throws VerificationException

      Specified by:
        `verify` in interface `SignatureVerifierContext`
      Overrides:
        `verify` in class `AsymmetricSignatureVerifierContext`
      Throws:
        `VerificationException`

Copyright © 2021 JBoss by Red Hat. All rights reserved.