Package org.keycloak.crypto
Interface SignatureProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
AsymmetricSignatureProvider
,ECDSASignatureProvider
,MacSecretSignatureProvider
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkKeyForSignature
(KeyWrapper key, String algorithm, String type) static void
checkKeyForVerification
(KeyWrapper key, String algorithm, String type) default void
close()
boolean
signer()
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 VerificationException - Throws:
VerificationException
-
signer
- Throws:
SignatureException
-
signer
- Throws:
SignatureException
-
verifier
- Throws:
VerificationException
-
verifier
- Throws:
VerificationException
-
isAsymmetricAlgorithm
boolean isAsymmetricAlgorithm() -
close
default void close()
-