Class RedirectBindingSignatureUtil
java.lang.Object
org.keycloak.saml.processing.core.util.RedirectBindingSignatureUtil
- Author:
- rmartinc
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
validateRedirectBindingSignature
(SignatureAlgorithm sigAlg, byte[] rawQueryBytes, byte[] decodedSignature, KeyLocator locator, String keyId) static boolean
validateRedirectBindingSignatureForKey
(SignatureAlgorithm sigAlg, byte[] rawQueryBytes, byte[] decodedSignature, Key key)
-
Method Details
-
validateRedirectBindingSignature
public static boolean validateRedirectBindingSignature(SignatureAlgorithm sigAlg, byte[] rawQueryBytes, byte[] decodedSignature, KeyLocator locator, String keyId) throws KeyManagementException, VerificationException -
validateRedirectBindingSignatureForKey
public static boolean validateRedirectBindingSignatureForKey(SignatureAlgorithm sigAlg, byte[] rawQueryBytes, byte[] decodedSignature, Key key) throws SignatureException - Throws:
SignatureException
-