Class RSAEncrypter
- java.lang.Object
 - 
- org.jboss.resteasy.jose.jwe.crypto.RSAEncrypter
 
 
- 
public class RSAEncrypter extends Object
RSA encrypterSupports the following JWE algorithms:
- RSA1_5
 - RSA_OAEP
 
Supports the following encryption methods:
- A128CBC_HS256
 - A256CBC_HS512
 - A128GCM
 - A256GCM
 
- Version:
 - $version$ (2013-05-29)
 - Author:
 - David Ortiz, Vladimir Dzhuvinov
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RSAEncrypter() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringencrypt(Algorithm alg, EncryptionMethod enc, CompressionAlgorithm compressionAlgorithm, RSAPublicKey publicKey, String encodedJWEHeader, byte[] bytes) 
 - 
 
- 
- 
Method Detail
- 
encrypt
public static String encrypt(Algorithm alg, EncryptionMethod enc, CompressionAlgorithm compressionAlgorithm, RSAPublicKey publicKey, String encodedJWEHeader, byte[] bytes)
 
 - 
 
 -