Package org.keycloak.jose.jws.crypto
Class RSAProvider
- java.lang.Object
- 
- org.keycloak.jose.jws.crypto.RSAProvider
 
- 
- All Implemented Interfaces:
- SignatureProvider
 
 public class RSAProvider extends Object implements SignatureProvider - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Constructor SummaryConstructors Constructor Description RSAProvider()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetJavaAlgorithm(Algorithm alg)static SignaturegetSignature(Algorithm alg)static byte[]sign(byte[] data, Algorithm algorithm, PrivateKey privateKey)booleanverify(JWSInput input, String key)static booleanverify(JWSInput input, PublicKey publicKey)static booleanverifyViaCertificate(JWSInput input, String cert)
 
- 
- 
- 
Method Detail- 
signpublic static byte[] sign(byte[] data, Algorithm algorithm, PrivateKey privateKey)
 - 
verifypublic boolean verify(JWSInput input, String key) - Specified by:
- verifyin interface- SignatureProvider
 
 
- 
 
-