EncryptedDataType Property
Specifies the type of the data being encrypted.
Syntax
property EncryptedDataType: TsbxXMLEncryptedDataTypes read get_EncryptedDataType write set_EncryptedDataType;
TsbxXMLEncryptedDataTypes = ( cxedtElement, cxedtContent, cxedtExternal );
Default Value
cxedtElement
Remarks
This property specifies the data type to be encrypted.
Supported values:
cxedtElement | 0 | The XML element is encrypted. XMLNode property specifies the XML element that should be encrypted. |
cxedtContent | 1 | Element content is encrypted. XMLNode property specifies the XML element which content should be encrypted. |
cxedtExternal | 2 | External data is encrypted. Use ExternalData property to set the data that should be encrypted. XMLNode property specifies the location where xenc:EncryptedData element should be placed. |
If the XMLNode property is set to the empty string, and the InputStream and InputFile properties are not provided, then a new XML document will be created with the xenc:EncryptedData element as a document element.