%SOAP.Security.BinarySecurityToken
Class %SOAP.Security.BinarySecurityToken Extends %SOAP.Security.Element [ System = 4 ]
Binary Security Token for SOAP Security header.
Parameters
XMLFORMAT
Parameter XMLFORMAT = "literal";
NAMESPACE
Parameter NAMESPACE = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
Properties
Token
Property Token As %xsd.base64Binary(XMLPROJECTION = "content");
EncodingType
Property EncodingType As %String(MAXLEN = "", XMLPROJECTION = "attribute") [ InitialExpression = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ];
ValueType
Property ValueType As %String(MAXLEN = "", XMLPROJECTION = "attribute");
X509Credentials
Property X509Credentials As %SYS.X509Credentials(XMLPROJECTION = "none") [ Internal ];
If token is based on X509 certificate, this is the X509 credentials class.
Methods
GetId
Method GetId() As %String [ Internal ]
Return the value of the Id property. Populate the Id property if it is not yet set.
Reset
Method Reset() [ Internal ]
Keep Id for BinarySecurityToken
CreateX509Token
ClassMethod CreateX509Token(credentials As %SYS.X509Credentials) As %SOAP.Security.BinarySecurityToken
Create a BinarySecurityToken element that contains an X509 certificate.
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.