Επεξεργασία

Κοινή χρήση μέσω


XmlDecryptionTransform Class

Definition

Specifies the order of XML Digital Signature and XML Encryption operations when both are performed on the same document.

public ref class XmlDecryptionTransform : System::Security::Cryptography::Xml::Transform
public class XmlDecryptionTransform : System.Security.Cryptography.Xml.Transform
type XmlDecryptionTransform = class
    inherit Transform
Public Class XmlDecryptionTransform
Inherits Transform
Inheritance
XmlDecryptionTransform

Remarks

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.

Constructors

XmlDecryptionTransform()

Initializes a new instance of the XmlDecryptionTransform class.

Properties

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(Object) method of the current XmlDecryptionTransform object.

OutputTypes

Gets an array of types that are possible outputs from the GetOutput() methods of the current XmlDecryptionTransform object.

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)

Methods

AddExceptUri(String)

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)
GetDigestedOutput(HashAlgorithm)

When overridden in a derived class, returns the digest associated with a Transform object.

(Inherited from Transform)
GetHashCode()

Serves as the default hash function.

(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.

GetOutput()

Returns the output of the current XmlDsigEnvelopedSignatureTransform object.

GetOutput(Type)

Returns the output of the current XmlDsigEnvelopedSignatureTransform object.

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(XmlElement, String)

Determines whether the ID attribute of an XmlElement object matches a specified value.

LoadInnerXml(XmlNodeList)

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.

LoadInput(Object)

When overridden in a derived class, loads the specified input into the current XmlDecryptionTransform 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)

Applies to