WSEncryptionPart
object that contain information about the elements to encrypt. The method call the encryption method, takes the reference information generated during encryption and add this to the xenc:Reference
element. This method can be called after prepare()
and can be called multiple times to encrypt a number of parts or elements. The method generates a xenc:Reference
element that must be added to the SecurityHeader. See addExternalRefElement()
. If the dataRef
parameter is null
the method creates and initializes a new Reference element.
@param dataRef A xenc:Reference
element or null
@param references A vector containing WSEncryptionPart objects
@return Returns the updated xenc:Reference
element
@throws WSSecurityException
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|