public class EncryptionParameters extends Object
Constructor and Description |
---|
EncryptionParameters() |
Modifier and Type | Method and Description |
---|---|
String |
getDataEncryptionAlgorithm()
Get the encryption algorithm URI to use when encrypting the EncryptedData.
|
Credential |
getDataEncryptionCredential()
Get the encryption credential to use when encrypting the EncryptedData.
|
KeyInfoGenerator |
getDataKeyInfoGenerator()
Get the KeyInfoGenerator to use when generating the EncryptedData/KeyInfo.
|
String |
getKeyTransportEncryptionAlgorithm()
Get the encryption algorithm URI to use when encrypting the EncryptedKey.
|
Credential |
getKeyTransportEncryptionCredential()
Get the encryption credential to use when encrypting the EncryptedKey.
|
KeyInfoGenerator |
getKeyTransportKeyInfoGenerator()
Get the KeyInfoGenerator to use when generating the EncryptedKey/KeyInfo.
|
RSAOAEPParameters |
getRSAOAEPParameters()
Get the instance of
RSAOAEPParameters . |
void |
setDataEncryptionAlgorithm(String uri)
Set the encryption algorithm URI to use when encrypting the EncryptedData.
|
void |
setDataEncryptionCredential(Credential credential)
Set the encryption credential to use when encrypting the EncryptedData.
|
void |
setDataKeyInfoGenerator(KeyInfoGenerator generator)
Set the KeyInfoGenerator to use when generating the EncryptedData/KeyInfo.
|
void |
setKeyTransportEncryptionAlgorithm(String uri)
Set the encryption algorithm URI to use when encrypting the EncryptedKey.
|
void |
setKeyTransportEncryptionCredential(Credential credential)
Set the encryption credential to use when encrypting the EncryptedKey.
|
void |
setKeyTransportKeyInfoGenerator(KeyInfoGenerator generator)
Set the KeyInfoGenerator to use when generating the EncryptedKey/KeyInfo.
|
void |
setRSAOAEPParameters(RSAOAEPParameters params)
Set the instance of
RSAOAEPParameters . |
@Nullable public Credential getDataEncryptionCredential()
public void setDataEncryptionCredential(@Nullable Credential credential)
credential
- the encryption credential@Nullable public Credential getKeyTransportEncryptionCredential()
public void setKeyTransportEncryptionCredential(@Nullable Credential credential)
credential
- the encryption credential@Nullable public String getDataEncryptionAlgorithm()
public void setDataEncryptionAlgorithm(@Nullable String uri)
uri
- an encryption algorithm URI@Nullable public String getKeyTransportEncryptionAlgorithm()
public void setKeyTransportEncryptionAlgorithm(@Nullable String uri)
uri
- an encryption algorithm URI@Nullable public KeyInfoGenerator getDataKeyInfoGenerator()
public void setDataKeyInfoGenerator(@Nullable KeyInfoGenerator generator)
generator
- the KeyInfoGenerator instance@Nullable public KeyInfoGenerator getKeyTransportKeyInfoGenerator()
public void setKeyTransportKeyInfoGenerator(@Nullable KeyInfoGenerator generator)
generator
- the KeyInfoGenerator instance@Nullable public RSAOAEPParameters getRSAOAEPParameters()
RSAOAEPParameters
.public void setRSAOAEPParameters(@Nullable RSAOAEPParameters params)
RSAOAEPParameters
.params
- the new parameters instanceCopyright © 2016 JBoss by Red Hat. All rights reserved.