XmlDecryptionTransform Class
Specifies the order of XML Digital Signature and XML Encryption operations when both are performed on the same document.
System.Security.Cryptography.Xml::Transform
System.Security.Cryptography.Xml::XmlDecryptionTransform
Assembly: System.Security (in System.Security.dll)
The XmlDecryptionTransform type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | XmlDecryptionTransform | Initializes a new instance of the XmlDecryptionTransform class. |
| Name | Description | |
|---|---|---|
![]() | Algorithm | Gets or sets the Uniform Resource Identifier (URI) that identifies the algorithm performed by the current transform. (Inherited from Transform.) |
![]() | Context | Gets or sets an XmlElement object that represents the document context under which the current Transform object is running. (Inherited from Transform.) |
![]() | EncryptedXml | Gets or sets an EncryptedXml object that contains information about the keys necessary to decrypt an XML document. |
![]() | InputTypes | Gets an array of types that are valid inputs to the LoadInput method of the current XmlDecryptionTransform object. (Overrides Transform::InputTypes.) |
![]() | OutputTypes | Gets an array of types that are possible outputs from the GetOutput methods of the current XmlDecryptionTransform object. (Overrides Transform::OutputTypes.) |
![]() | PropagatedNamespaces | Gets or sets a Hashtable object that contains the namespaces that are propagated into the signature. (Inherited from Transform.) |
![]() | Resolver | Sets the current XmlResolver object. (Inherited from Transform.) |
| Name | Description | |
|---|---|---|
![]() | AddExceptUri | Adds a Uniform Resource Identifier (URI) to exclude from processing. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDigestedOutput | When overridden in a derived class, returns the digest associated with a Transform object. (Inherited from Transform.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetInnerXml | Returns an XML representation of the parameters of an XmlDecryptionTransform object that are suitable to be included as subelements of an XMLDSIG <Transform> element. (Overrides Transform::GetInnerXml().) |
![]() | GetOutput() | Returns the output of the current XmlDsigEnvelopedSignatureTransform object. (Overrides Transform::GetOutput().) |
![]() | GetOutput(Type) | Returns the output of the current XmlDsigEnvelopedSignatureTransform object. (Overrides Transform::GetOutput(Type).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetXml | Returns the XML representation of the current Transform object. (Inherited from Transform.) |
![]() | IsTargetElement | Determines whether the ID attribute of an XmlElement object matches a specified value. |
![]() | LoadInnerXml | Parses the specified XmlNodeList object as transform-specific content of a <Transform> element and configures the internal state of the current XmlDecryptionTransform object to match the <Transform> element. (Overrides Transform::LoadInnerXml(XmlNodeList).) |
![]() | LoadInput | When overridden in a derived class, loads the specified input into the current XmlDecryptionTransform object. (Overrides Transform::LoadInput(Object).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The XmlDecryptionTransform class provides a transform that determines the order of XML Digital Signature and XML Encryption operations when both are performed on the same document.
Use the XmlDecryptionTransform class whenever you need to perform XML encryption and apply an XML digital signature to the same XML document.
You must pass an EncryptedXml object to the EncryptedXml property that contains the necessary key information to decrypt the document.
Note |
|---|
The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: MayLeakOnAbort. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
