Timestamp to a soap envelope. A complete Timestamp is constructed and added to the wsse:Security header.
@param doc The SOAP enevlope as W3C document
@param ttl This is the time difference in seconds between the Created and the Expires in Timestamp, set to zero if Expires should not be added.
@return Document with Timestamp added
@throws Exception
@deprecated replaced by{@link WSSecTimestamp#build(Document,WSSecHeader)} and{@link WSSecTimestamp#setTimeToLive()}
| |
| |