Package org.keycloak.crypto
Class AsymmetricSignatureVerifierContext
- java.lang.Object
-
- org.keycloak.crypto.AsymmetricSignatureVerifierContext
-
- All Implemented Interfaces:
SignatureVerifierContext
- Direct Known Subclasses:
ClientAsymmetricSignatureVerifierContext
,ClientECDSASignatureVerifierContext
,ServerAsymmetricSignatureVerifierContext
,ServerECDSASignatureVerifierContext
public class AsymmetricSignatureVerifierContext extends Object implements SignatureVerifierContext
-
-
Constructor Summary
Constructors Constructor Description AsymmetricSignatureVerifierContext(KeyWrapper key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
String
getKid()
boolean
verify(byte[] data, byte[] signature)
-
-
-
Constructor Detail
-
AsymmetricSignatureVerifierContext
public AsymmetricSignatureVerifierContext(KeyWrapper key)
-
-
Method Detail
-
getKid
public String getKid()
- Specified by:
getKid
in interfaceSignatureVerifierContext
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceSignatureVerifierContext
-
verify
public boolean verify(byte[] data, byte[] signature) throws VerificationException
- Specified by:
verify
in interfaceSignatureVerifierContext
- Throws:
VerificationException
-
-