...
algorithm
- specifies the symmetric block cipher used to encrypt the data. The value is an XML Encryption algorithm URI. This property may not be null. If not specified by the caller, an internal default will be used.encryptionCredential
- specifies the symmetric encryption key that will be used to encrypt the data, in the form of aorg.opensaml.xml.security.credential.Credential
, containing ajavax.crypto.SecretKey
. It may be null, in which case a random data encryption key will be automatically generated and supplied via a minimalCredential
instance.keyInfoGenerator
- specifies an instance oforg.opensaml.xml.security.keyinfo.KeyInfoGenerator
which will be used to generate aKeyInfo
element from the encryptionCredential
, which in turn will be included in the resultantEncryptedData
. It may be null, in which case noKeyInfo
will generated or included in theEncryptedData
.
...
algorithm
- specifies the key transport algorithm used to encrypt the data encryption key. The value is an XML Encryption algorithm URI. This property may not be null. There is no default, and it is the responsibility of the caller to ensure that the algorithm specified is consistent with the key encryption key specified in theencryptionCredential
property.encryptionCredential
- specifies the key encryption key that will be used to encrypt the data encryption key, in the form of aorg.opensaml.xml.security.credential.Credential
, containing either ajava.security.PublicKey
(for asymmetric key transport) orjavax.crypto.SecretKey
(for symmetric key wrap). This property may not be null, and it is the responsibility of the caller to ensure that the key encryption key specified is consistent with the algorithm specified in thealgorithm
property.keyInfoGenerator
- specifies an instance oforg.opensaml.xml.security.keyinfo.KeyInfoGenerator
which will be used to generate aKeyInfo
element from the key encryptionCredential
, which in turn will included in the resultantEncryptedKey
. It may be null, in which case noKeyInfo
will generated or included in theEncryptedKey
.recipient
- specifies the value of therecipient
attribute that will be set on the resultantEncryptedKey
element. It may be null, in which case no recipient attribute will be included.
...