Skip to main content

%SOAP.WST.Entropy

Class %SOAP.WST.Entropy Extends (%RegisteredObject, %XML.Adaptor) [ System = 4 ]

EntropyType type from WS-Trust 1.3. Either BinarySecret or EncryptedKey may be specified, but not both.

Parameters

XMLFORMAT

Parameter XMLFORMAT = "literal";

NAMESPACE

Parameter NAMESPACE = "http://docs.oasis-open.org/ws-sx/ws-trust/200512";

ELEMENTQUALIFIED

Parameter ELEMENTQUALIFIED = 1;

XMLPREFIX

Parameter XMLPREFIX = "wst";

Properties

BinarySecret

Property BinarySecret As %SOAP.WST.BinarySecret(REFNAMESPACE = "http://docs.oasis-open.org/ws-sx/ws-trust/200512", XMLREF = 1);

EncryptedKey

Property EncryptedKey As %XML.Security.EncryptedKey(REFNAMESPACE = "http://www.w3.org/2001/04/xmlenc#", XMLREF = 1);

Methods

CreateBinarySecret

ClassMethod CreateBinarySecret(keysize As %Integer, type As %String) As %SOAP.WST.Entropy

Create Entropy element with BinarySecret. keysize is the size of the random entropy in bytes. Default keysize is $$$SOAPWSSCDEFAULTKEYSIZE.

CreateX509EncryptedKey

ClassMethod CreateX509EncryptedKey(keysize As %Integer, credentials As %SYS.X509Credentials = "", referenceOption As %Integer = "", Output status As %Status) As %SOAP.WST.Entropy

Create Entropy element with an EncryptedKey element containing a binary secret. keysize is the size of the random entropy in bytes. Default keysize is $$$SOAPWSSCDEFAULTKEYSIZE.