Package org.keycloak.crypto
Interface SignatureProvider
- All Superinterfaces:
Provider
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckKeyForSignature(KeyWrapper key, String algorithm, String type) static voidcheckKeyForVerification(KeyWrapper key, String algorithm, String type) default voidclose()booleansigner()signer(KeyWrapper key) verifier(KeyWrapper key)
-
Method Details
-
checkKeyForSignature
static void checkKeyForSignature(KeyWrapper key, String algorithm, String type) throws SignatureException - Throws:
SignatureException
-
checkKeyForVerification
static void checkKeyForVerification(KeyWrapper key, String algorithm, String type) throws org.keycloak.common.VerificationException - Throws:
org.keycloak.common.VerificationException
-
signer
- Throws:
SignatureException
-
signer
- Throws:
SignatureException
-
verifier
- Throws:
org.keycloak.common.VerificationException
-
verifier
- Throws:
org.keycloak.common.VerificationException
-
isAsymmetricAlgorithm
boolean isAsymmetricAlgorithm() -
close
default void close()
-