public class KeyEncryptionParameters extends DataEncryptionParameters
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
recipient
Recipient of the key.
|
private RSAOAEPParameters |
rsaOAEPParameters
RSA OAEP parameters.
|
| Constructor and Description |
|---|
KeyEncryptionParameters()
Constructor.
|
KeyEncryptionParameters(EncryptionParameters params,
java.lang.String recipientId)
Convenience constructor which allows copying the relevant key encryption parameters from
an instance of
EncryptionParameters. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRecipient()
Gets the recipient of the key.
|
RSAOAEPParameters |
getRSAOAEPParameters()
Get the instance of
RSAOAEPParameters. |
void |
setRecipient(java.lang.String newRecipient)
Sets the recipient of the key.
|
void |
setRSAOAEPParameters(RSAOAEPParameters params)
Set the instance of
RSAOAEPParameters. |
getAlgorithm, getEncryptionCredential, getKeyInfoGenerator, setAlgorithm, setEncryptionCredential, setKeyInfoGeneratorprivate java.lang.String recipient
private RSAOAEPParameters rsaOAEPParameters
public KeyEncryptionParameters()
public KeyEncryptionParameters(EncryptionParameters params, java.lang.String recipientId)
EncryptionParameters.params - the encryption parameters instancerecipientId - the recipient of the key@Nullable public java.lang.String getRecipient()
public void setRecipient(@Nullable
java.lang.String newRecipient)
newRecipient - the recipient of the key@Nullable public RSAOAEPParameters getRSAOAEPParameters()
RSAOAEPParameters.public void setRSAOAEPParameters(@Nullable
RSAOAEPParameters params)
RSAOAEPParameters.params - the new parameters instance