Skip to main content


class %SOAP.Security.BinarySecurityToken extends %SOAP.Security.Element

Binary Security Token for SOAP Security header.

Property Inventory

Method Inventory


parameter NAMESPACE =;
Inherited description: NAMESPACE specifies the XML namespace to be used when projecting the class to XML. If NAMESPACE = "", the default namespace is used for the XML schema is used as the namespace for his class.
parameter XMLFORMAT = literal;
Inherited description: The XMLFORMAT parameter controls the generation of the XMLExport and XMLImport methods for XML enabled classes to include code for only literal or only encoded format. This allows the generated routines to be significantly smaller since usually both formats are not needed.

If XMLFORMAT="Literal", then only support for literal format import and export is generated.

If XMLFORMAT="Encoded", then only support for SOAP encoded format import and export is generated.

The default is to generate support for both literal and encoded format.


property EncodingType as %String) [ InitialExpression = "" ];
Property methods: EncodingTypeDisplayToLogical(), EncodingTypeGet(), EncodingTypeIsValid(), EncodingTypeLogicalToDisplay(), EncodingTypeLogicalToOdbc(), EncodingTypeNormalize(), EncodingTypeSet()
property Token as %xsd.base64Binary (XMLPROJECTION = "content");
Property methods: TokenGet(), TokenIsValid(), TokenLogicalToXSD(), TokenSet(), TokenXSDToLogical()
property ValueType as %String);
Property methods: ValueTypeDisplayToLogical(), ValueTypeGet(), ValueTypeIsValid(), ValueTypeLogicalToDisplay(), ValueTypeLogicalToOdbc(), ValueTypeNormalize(), ValueTypeSet()


classmethod CreateX509Token(credentials As %SYS.X509Credentials) as %SOAP.Security.BinarySecurityToken
Create a BinarySecurityToken element that contains an X509 certificate.

Inherited Members

Inherited Methods


FeedbackOpens in a new tab