Package org.keycloak.crypto
Class ServerECDSASignatureVerifierContext
- java.lang.Object
-
- org.keycloak.crypto.AsymmetricSignatureVerifierContext
-
- org.keycloak.crypto.ServerECDSASignatureVerifierContext
-
- All Implemented Interfaces:
SignatureVerifierContext
public class ServerECDSASignatureVerifierContext extends AsymmetricSignatureVerifierContext
-
-
Constructor Summary
Constructors Constructor Description ServerECDSASignatureVerifierContext(KeyWrapper key)
ServerECDSASignatureVerifierContext(KeycloakSession session, String kid, String algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verify(byte[] data, byte[] signature)
-
Methods inherited from class org.keycloak.crypto.AsymmetricSignatureVerifierContext
getAlgorithm, getKid
-
-
-
-
Constructor Detail
-
ServerECDSASignatureVerifierContext
public ServerECDSASignatureVerifierContext(KeycloakSession session, String kid, String algorithm) throws VerificationException
- Throws:
VerificationException
-
ServerECDSASignatureVerifierContext
public ServerECDSASignatureVerifierContext(KeyWrapper key)
-
-
Method Detail
-
verify
public boolean verify(byte[] data, byte[] signature) throws VerificationException
- Specified by:
verify
in interfaceSignatureVerifierContext
- Overrides:
verify
in classAsymmetricSignatureVerifierContext
- Throws:
VerificationException
-
-