public class RSAEncryption extends AbstractEncryptionConfiguration
algorithm, method
Constructor and Description |
---|
RSAEncryption(RSAEncryptionConfiguration rsaEncryptionConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected com.nimbusds.jose.JWEDecrypter |
buildDecrypter()
Build the appropriate decrypter.
|
protected com.nimbusds.jose.JWEEncrypter |
buildEncrypter()
Build the appropriate encrypter.
|
String |
supportedAlgorithmsMessage() |
boolean |
supports(com.nimbusds.jose.JWEAlgorithm algorithm,
com.nimbusds.jose.EncryptionMethod method)
Whether this encryption configuration supports this algorithm and encryption method.
|
decrypt, encrypt, getAlgorithm, getMethod, setAlgorithm, setMethod
public RSAEncryption(RSAEncryptionConfiguration rsaEncryptionConfiguration)
rsaEncryptionConfiguration
- Instance of RSAEncryptionConfiguration
public boolean supports(com.nimbusds.jose.JWEAlgorithm algorithm, com.nimbusds.jose.EncryptionMethod method)
EncryptionConfiguration
algorithm
- the encryption algorithmmethod
- the encryption methodpublic String supportedAlgorithmsMessage()
protected com.nimbusds.jose.JWEEncrypter buildEncrypter()
AbstractEncryptionConfiguration
buildEncrypter
in class AbstractEncryptionConfiguration
protected com.nimbusds.jose.JWEDecrypter buildDecrypter()
AbstractEncryptionConfiguration
buildDecrypter
in class AbstractEncryptionConfiguration