public class RSAEncrypter extends Object
Supports the following JWE algorithms:
Supports the following encryption methods:
Constructor and Description |
---|
RSAEncrypter() |
Modifier and Type | Method and Description |
---|---|
static String |
encrypt(Algorithm alg,
EncryptionMethod enc,
CompressionAlgorithm compressionAlgorithm,
RSAPublicKey publicKey,
String encodedJWEHeader,
byte[] bytes) |
public static String encrypt(Algorithm alg, EncryptionMethod enc, CompressionAlgorithm compressionAlgorithm, RSAPublicKey publicKey, String encodedJWEHeader, byte[] bytes)
Copyright © 2015. All Rights Reserved.