org.opensaml.xml.encryption
Class EncryptionParameters

java.lang.Object
  extended by org.opensaml.xml.encryption.EncryptionParameters
Direct Known Subclasses:
KeyEncryptionParameters

public class EncryptionParameters
extends Object

Parameters for encrypting XMLObjects.


Constructor Summary
EncryptionParameters()
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionParameters

public EncryptionParameters()
Constructor.

Method Detail

getAlgorithm

public String getAlgorithm()
Gets the XML Encryption algorithm URI used to encrypt.

Returns:
the algorithm URI used to encrypt

setAlgorithm

public void setAlgorithm(String newAlgorithm)
Sets the XML Encryption algorithm URI used to encrypt.

Parameters:
newAlgorithm - the algorithm URI used to encrypt

getEncryptionCredential

public Credential getEncryptionCredential()
Gets the credential used to encrypt.

Returns:
the credential used to encrypt

setEncryptionCredential

public void setEncryptionCredential(Credential newEncryptionCredential)
Sets the credential used to encrypt.

Parameters:
newEncryptionCredential - the credential used to encrypt

getKeyInfoGenerator

public KeyInfoGenerator getKeyInfoGenerator()
Gets the instance which will be used to generate a KeyInfo object from the encryption credential.

Returns:
the generator instance

setKeyInfoGenerator

public void setKeyInfoGenerator(KeyInfoGenerator newKeyInfoGenerator)
Sets the instance which will be used to generate a KeyInfo object from the encryption credential.

Parameters:
newKeyInfoGenerator - the new generator instance


Copyright © 2006-2011 Internet2. All Rights Reserved.