Skip to main content

%XML.Security.RSAKeyValue

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

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

Modulus

Property Modulus As %XML.Security.CryptoBinary(XMLREF = 1) [ Internal, Required ];

Exponent

Property Exponent As %XML.Security.CryptoBinary(XMLREF = 1) [ Internal, Required ];

Methods

Equals

Method Equals(credentials As %XML.Security.RSAKeyValue) As %Boolean

Return true if the same credentials -- same RSA public key in this case. credentials may be either a %XML.Security.RSAKeyValue instance, a %SYS.X509Credentials instance or a certificate.

ValidateTokenRef

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

Validate and return the RSA public key. If valid, set credentials argument to this instance and return "". If not valid, return error code.