Package org.keycloak.jose.jws.crypto
Class RSAProvider
java.lang.Object
org.keycloak.jose.jws.crypto.RSAProvider
- All Implemented Interfaces:
SignatureProvider
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static Signature
getSignature
(Algorithm alg) static byte[]
sign
(byte[] data, Algorithm algorithm, PrivateKey privateKey) boolean
static boolean
static boolean
verifyViaCertificate
(JWSInput input, String cert)
-
Constructor Details
-
RSAProvider
public RSAProvider()
-
-
Method Details
-
getJavaAlgorithm
-
getSignature
-
sign
-
verifyViaCertificate
-
verify
-
verify
- Specified by:
verify
in interfaceSignatureProvider
-