EncryptedData Class
Represents the <EncryptedData> element in XML encryption. This class cannot be inherited.
Assembly: System.Security (in System.Security.dll)
System.Security.Cryptography.Xml::EncryptedType
System.Security.Cryptography.Xml::EncryptedData
| Name | Description | |
|---|---|---|
![]() | EncryptedData() | Initializes a new instance of the EncryptedData class. |
| Name | Description | |
|---|---|---|
![]() | CipherData | Gets or sets the CipherData value for an instance of an EncryptedType class.(Inherited from EncryptedType.) |
![]() | Encoding | Gets or sets the Encoding attribute of an EncryptedType instance in XML encryption.(Inherited from EncryptedType.) |
![]() | EncryptionMethod | Gets or sets the <EncryptionMethod> element for XML encryption.(Inherited from EncryptedType.) |
![]() | EncryptionProperties | Gets or sets the <EncryptionProperties> element in XML encryption.(Inherited from EncryptedType.) |
![]() | Id | Gets or sets the Id attribute of an EncryptedType instance in XML encryption.(Inherited from EncryptedType.) |
![]() | KeyInfo | Gets of sets the <KeyInfo> element in XML encryption.(Inherited from EncryptedType.) |
![]() | MimeType | Gets or sets the MimeType attribute of an EncryptedType instance in XML encryption.(Inherited from EncryptedType.) |
![]() | Type | Gets or sets the Type attribute of an EncryptedType instance in XML encryption.(Inherited from EncryptedType.) |
| Name | Description | |
|---|---|---|
![]() | AddProperty(EncryptionProperty^) | Adds an <EncryptionProperty> child element to the <EncryptedProperties> element in the current EncryptedType object in XML encryption.(Inherited from EncryptedType.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | GetXml() | Returns the XML representation of the EncryptedData object.(Overrides EncryptedType::GetXml().) |
![]() | LoadXml(XmlElement^) | Loads XML information into the <EncryptedData> element in XML encryption.(Overrides EncryptedType::LoadXml(XmlElement^).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
This class is used to represent the <EncryptedData> element in XML encryption. This element is the core element in XML encryption. Its child element, <CipherData>, contains encrypted data. The <EncryptedData> element replaces an encrypted element or serves as the new document root.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

