public class KeyEncryptionParameters extends DataEncryptionParameters
Modifier and Type | Field and Description |
---|---|
private String |
recipient
Recipient of the key.
|
private RSAOAEPParameters |
rsaOAEPParameters
RSA OAEP parameters.
|
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.
|
RSAOAEPParameters |
getRSAOAEPParameters()
Get the instance of
RSAOAEPParameters . |
void |
setRecipient(String newRecipient)
Sets the recipient of the key.
|
void |
setRSAOAEPParameters(RSAOAEPParameters params)
Set the instance of
RSAOAEPParameters . |
getAlgorithm, getEncryptionCredential, getKeyInfoGenerator, setAlgorithm, setEncryptionCredential, setKeyInfoGenerator
private String recipient
private RSAOAEPParameters rsaOAEPParameters
public KeyEncryptionParameters()
public KeyEncryptionParameters(EncryptionParameters params, String recipientId)
EncryptionParameters
.params
- the encryption parameters instancerecipientId
- the recipient of the key@Nullable public String getRecipient()
public void setRecipient(@Nullable String newRecipient)
newRecipient
- the recipient of the key@Nullable public RSAOAEPParameters getRSAOAEPParameters()
RSAOAEPParameters
.public void setRSAOAEPParameters(@Nullable RSAOAEPParameters params)
RSAOAEPParameters
.params
- the new parameters instanceCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.