Skip to main content

%XML.Security.DataReference

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

XML Encryption element.

Parameters

XMLFORMAT

Parameter XMLFORMAT = "literal";

NAMESPACE

Parameter NAMESPACE = "http://www.w3.org/2001/04/xmlenc#";

ELEMENTQUALIFIED

Parameter ELEMENTQUALIFIED = 1;

Properties

content

Property content As %XML.String(XMLPROJECTION = "content");

URI

Property URI As %xsd.anyURI(XMLPROJECTION = "attribute") [ Required ];

EncryptedData

Property EncryptedData As %XML.Security.EncryptedData(XMLPROJECTION = "none") [ Internal ];

EncryptedData element for data that is to be encrypted.

SecurityPosition

Property SecurityPosition As %Integer(XMLPROJECTION = "none") [ Internal ];

The position in the Security header, if referenced EncryptedData is child of the Security header.

ElementType

Property ElementType As %String(XMLPROJECTION = "none") [ Internal ];

The type of element referenced: "Body", "Header", "Element" or "". Used only when validating received SOAP messages.

DoNotReuse

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

If DoNotReuse is true, then this reference was created by InitializeForService and should be removed during Reset.

Methods

Create

ClassMethod Create(data As %XML.Security.EncryptedData)

Create a new Reference based on the specified EncryptedData.