Skip to main content

%XML.Security.X509Certificate

Class %XML.Security.X509Certificate Extends %XML.Security.X509DataElement [ System = 4 ]

X509Certificate X509Data element. 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";

NAMESPACE

Parameter NAMESPACE = "http://www.w3.org/2000/09/xmldsig#";

ELEMENTQUALIFIED

Parameter ELEMENTQUALIFIED = 1;

Properties

value

Property value As %xsd.base64Binary(XMLPROJECTION = "content") [ Internal ];

Methods

Create

ClassMethod Create(credentials As %SYS.X509Credentials) As %XML.Security.X509Certificate

Create an element based on X509 credentials

ValidateTokenRef

Method ValidateTokenRef(service As %SOAP.WebBase, ByRef tokenType As %String, ByRef credentials As %SYS.X509Credentials) As %String [ Internal ]

Validate and get the certificate. If valid, set credentials argument and return "". If not valid, return error code.