Skip to main content

%XML.Security.X509Data

class %XML.Security.X509Data extends %XML.Security.KeyInfoClause

X509Data reference for SOAP SecurityTokenReference or KeyInfo. 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."

Method Inventory

Parameters

parameter ELEMENTQUALIFIED = 1;
Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute.

NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.

parameter NAMESPACE = http://www.w3.org/2000/09/xmldsig#;
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.

Methods

classmethod Create(valueType As %String, credentials As %SYS.X509Credentials, Output status As %Status) as %XML.Security.X509Data
Create a X509Data element.
credentials is the %SYS.X509Credentials object that defines the X509 data.
valueType is a comma separated list of value types.
If no X509Data element is returned the status argument is set to the error %Status.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab