Class RSAProvider
- java.lang.Object
 - 
- org.jboss.resteasy.jose.jws.crypto.RSAProvider
 
 
- 
- All Implemented Interfaces:
 SignatureProvider
public class RSAProvider extends Object implements SignatureProvider
- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RSAProvider() 
- 
Method Summary
All 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
- 
sign
public static byte[] sign(byte[] data, Algorithm algorithm, PrivateKey privateKey) 
- 
verify
public boolean verify(JWSInput input, String key)
- Specified by:
 verifyin interfaceSignatureProvider
 
 - 
 
 -