Package org.keycloak.crypto
Interface SignatureProvider
- All Superinterfaces:
 Provider
- All Known Implementing Classes:
 AsymmetricSignatureProvider,ECDSASignatureProvider,EdDSASignatureProvider,MacSecretSignatureProvider
- 
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 VerificationException - Throws:
 VerificationException
 - 
signer
- Throws:
 SignatureException
 - 
signer
- Throws:
 SignatureException
 - 
verifier
- Throws:
 VerificationException
 - 
verifier
- Throws:
 VerificationException
 - 
isAsymmetricAlgorithm
boolean isAsymmetricAlgorithm() - 
close
default void close() 
 -