XmlDecryptionTransform Class

 

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

Namespace:   System.Security.Cryptography.Xml
Assembly:  System.Security (in System.Security.dll)

System.Object
  System.Security.Cryptography.Xml.Transform
    System.Security.Cryptography.Xml.XmlDecryptionTransform

[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public class XmlDecryptionTransform : Transform

NameDescription
System_CAPS_pubmethodXmlDecryptionTransform()

Initializes a new instance of the XmlDecryptionTransform class.

NameDescription
System_CAPS_pubpropertyAlgorithm

Gets or sets the Uniform Resource Identifier (URI) that identifies the algorithm performed by the current transform.(Inherited from Transform.)

System_CAPS_pubpropertyContext

Gets or sets an XmlElement object that represents the document context under which the current Transform object is running. (Inherited from Transform.)

System_CAPS_pubpropertyEncryptedXml

Gets or sets an EncryptedXml object that contains information about the keys necessary to decrypt an XML document.

System_CAPS_pubpropertyInputTypes

Gets an array of types that are valid inputs to the LoadInput method of the current XmlDecryptionTransform object.(Overrides Transform.InputTypes.)

System_CAPS_pubpropertyOutputTypes

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

System_CAPS_pubpropertyPropagatedNamespaces

Gets or sets a Hashtable object that contains the namespaces that are propagated into the signature. (Inherited from Transform.)

System_CAPS_pubpropertyResolver

Sets the current XmlResolver object.(Inherited from Transform.)

NameDescription
System_CAPS_pubmethodAddExceptUri(String)

Adds a Uniform Resource Identifier (URI) to exclude from processing.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetDigestedOutput(HashAlgorithm)

When overridden in a derived class, returns the digest associated with a Transform object. (Inherited from Transform.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetInnerXml()

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

System_CAPS_pubmethodGetOutput()

Returns the output of the current XmlDsigEnvelopedSignatureTransform object.(Overrides Transform.GetOutput().)

System_CAPS_pubmethodGetOutput(Type)

Returns the output of the current XmlDsigEnvelopedSignatureTransform object.(Overrides Transform.GetOutput(Type).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetXml()

Returns the XML representation of the current Transform object.(Inherited from Transform.)

System_CAPS_protmethodIsTargetElement(XmlElement, String)

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

System_CAPS_pubmethodLoadInnerXml(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.(Overrides Transform.LoadInnerXml(XmlNodeList).)

System_CAPS_pubmethodLoadInput(Object)

When overridden in a derived class, loads the specified input into the current XmlDecryptionTransform object.(Overrides Transform.LoadInput(Object).)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

.NET Framework
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.

Return to top
Show: