Skip to main content

%XML.Security.KeyValue

Class %XML.Security.KeyValue Extends %XML.Security.KeyInfoClause [ System = 4 ]

XML KeyInfo type of KeyValue. 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

KeyValue

Property KeyValue As %XML.Adaptor(XMLCHOICELIST = "%XML.Security.DSAKeyValue,%XML.Security.RSAKeyValue", XMLPROJECTION = "element", XMLREF = 1, XMLTYPECONSTRAINT = "choice") [ Internal ];

Methods

GetRSAKeyValue

ClassMethod GetRSAKeyValue(credentials As %SYS.X509Credentials) As %XML.Security.KeyValue

Create a KeyValue containing a RSAKeyValue from a certificate

ValidateTokenRef

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

Validate this input KeyValue KeyInfo clause. If valid, set credentials and tokenType and return "". credentials is either %SYS.X509Credentials or %Binary If not valid, return error code.