EncryptedDataType Property
Specifies the type of the data being encrypted.
Syntax
public XmlencryptorEncryptedDataTypes EncryptedDataType { get; set; }
enum XmlencryptorEncryptedDataTypes { cxedtElement, cxedtContent, cxedtExternal }
Public Property EncryptedDataType As XmlencryptorEncryptedDataTypes
Enum XmlencryptorEncryptedDataTypes cxedtElement cxedtContent cxedtExternal End Enum
Default Value
0
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. |