public class EncryptionParameters extends Object
Constructor and Description |
---|
EncryptionParameters()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Gets the XML Encryption algorithm URI used to encrypt.
|
Credential |
getEncryptionCredential()
Gets the credential used to encrypt.
|
KeyInfoGenerator |
getKeyInfoGenerator()
Gets the instance which will be used to generate a KeyInfo
object from the encryption credential.
|
void |
setAlgorithm(String newAlgorithm)
Sets the XML Encryption algorithm URI used to encrypt.
|
void |
setEncryptionCredential(Credential newEncryptionCredential)
Sets the credential used to encrypt.
|
void |
setKeyInfoGenerator(KeyInfoGenerator newKeyInfoGenerator)
Sets the instance which will be used to generate a KeyInfo
object from the encryption credential.
|
public String getAlgorithm()
public void setAlgorithm(String newAlgorithm)
newAlgorithm
- the algorithm URI used to encryptpublic Credential getEncryptionCredential()
public void setEncryptionCredential(Credential newEncryptionCredential)
newEncryptionCredential
- the credential used to encryptpublic KeyInfoGenerator getKeyInfoGenerator()
public void setKeyInfoGenerator(KeyInfoGenerator newKeyInfoGenerator)
newKeyInfoGenerator
- the new generator instanceCopyright © 2018 JBoss by Red Hat. All rights reserved.