%SOAP.Security.Timestamp
Class %SOAP.Security.Timestamp Extends %SOAP.Security.Element [ System = 4 ]
Timestamp element for SOAP Security header.
Parameters
XMLFORMAT
Parameter XMLFORMAT = "literal";
NAMESPACE
Parameter NAMESPACE = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
Properties
Created
Property Created As %xsd.dateTime;
Expires
Property Expires As %xsd.dateTime;
TimestampAtEnd
Property TimestampAtEnd As %Boolean(XMLPROJECTION = "NONE");
If TimestampAtEnd is false, then this Timestamp element is put first in the element list. The default is false. If TimestampAtEnd is true, then this Timestamp element is put last in the element list.
Methods
GetId
Method GetId() As %String [ Internal ]
Return the value of the Id property. Populate the Id property if it is not yet set.
Create
ClassMethod Create(interval As %Integer = 300) As %SOAP.Security.Timestamp
Create a Timestamp element that expires in seconds.
ValidateElement
Method ValidateElement(document As %XML.Document, service As %SOAP.WebBase) As %String [ Internal ]
Validate the security header element. If invalid return an error code.