Skip to main content

%SOAP.Security.Element

Class %SOAP.Security.Element Extends (%RegisteredObject, %XML.Adaptor) [ Abstract, Inheritance = right, System = 4 ]

Abstract base class for security elements in SOAP Security header. This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class."

Parameters

XMLFORMAT

Parameter XMLFORMAT = "literal";

XMLINCLUDEINGROUP

Parameter XMLINCLUDEINGROUP = 2;

Force any subclass into choice list. This usage of XMLINCLUDEINGROUP is only needed for classes in %XML and %SOAP packages.

Properties

Id

Property Id As %String(MAXLEN = "", REFNAMESPACE = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", XMLPROJECTION = "ATTRIBUTE", XMLREF = 1) [ Internal ];

WasEncrypted

Property WasEncrypted As %Boolean(XMLPROJECTION = "none") [ Internal ];

Indicates that this element was originally encrypted

OriginalElement

Property OriginalElement As %SOAP.Security.Element(XMLPROJECTION = "none") [ Internal ];

If this is the decrypted version of an EncryptedData element, then the original element

Methods

GetId

Method GetId() As %String [ Internal ]

Return the value of the Id property. Populate the Id property if it is not yet set.

InitializeForService

Method InitializeForService(service As %SOAP.WebBase, header As %SOAP.Security.Header) As %Status [ Internal ]

Default Initializationation method

InitializeKey

Method InitializeKey(service As %SOAP.WebBase, algorithm As %String) As %Status [ Internal ]

Default InitializeKey method. Called to complete unreferenced Key element.

Perform

Method Perform(messageStream As %BinaryStream, header As %SOAP.Security.Header) As %Status [ Internal ]

Default method to perform the work.

Reset

Method Reset() [ Internal ]

Default Reset method

ValidateElement

Method ValidateElement(document As %XML.Document, service As %SOAP.WebBase) As %String [ Internal ]

Default Validate method