public class KeyEncryptionParameters extends DataEncryptionParameters
| Modifier and Type | Field and Description |
|---|---|
private String |
recipient
Recipient of the key.
|
| Constructor and Description |
|---|
KeyEncryptionParameters()
Constructor.
|
KeyEncryptionParameters(EncryptionParameters params,
String recipientId)
Convenience constructor which allows copying the relevant key encryption parameters from
an instance of
EncryptionParameters. |
| Modifier and Type | Method and Description |
|---|---|
String |
getRecipient()
Gets the recipient of the key.
|
void |
setRecipient(String newRecipient)
Sets the recipient of the key.
|
getAlgorithm, getEncryptionCredential, getKeyInfoGenerator, setAlgorithm, setEncryptionCredential, setKeyInfoGeneratorprivate String recipient
public KeyEncryptionParameters()
public KeyEncryptionParameters(EncryptionParameters params, String recipientId)
EncryptionParameters.params - the encryption parameters instancerecipientId - the recipient of the keyCopyright © 1999–2014. All rights reserved.