Transform Class

 

Represents the abstract base class from which all <Transform> elements that can be used in an XML digital signature derive.

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


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

NameDescription
System_CAPS_protmethodTransform()

Initializes a new instance of the Transform class.

NameDescription
System_CAPS_pubpropertyAlgorithm

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

System_CAPS_pubpropertyContext

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

System_CAPS_pubpropertyInputTypes

When overridden in a derived class, gets an array of types that are valid inputs to the LoadInput method of the current Transform object.

System_CAPS_pubpropertyOutputTypes

When overridden in a derived class, gets an array of types that are possible outputs from the GetOutput methods of the current Transform object.

System_CAPS_pubpropertyPropagatedNamespaces

Gets or sets a Hashtable object that contains the namespaces that are propagated into the signature.

System_CAPS_pubpropertyResolver

Sets the current XmlResolver object.

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_protmethodGetInnerXml()

When overridden in a derived class, returns an XML representation of the parameters of the Transform object that are suitable to be included as subelements of an XMLDSIG <Transform> element.

System_CAPS_pubmethodGetOutput()

When overridden in a derived class, returns the output of the current Transform object.

System_CAPS_pubmethodGetOutput(Type)

When overridden in a derived class, returns the output of the current Transform object of the specified 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.

System_CAPS_pubmethodLoadInnerXml(XmlNodeList)

When overridden in a derived class, parses the specified XmlNodeList object as transform-specific content of a <Transform> element and configures the internal state of the current Transform object to match the <Transform> element.

System_CAPS_pubmethodLoadInput(Object)

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

When performing XML signing and verification, the <Transform> element describes how the signer transformed the data object that was signed. The verifier of a document then uses the <Transform> element to transform the signed data in the same manner. If the verifier cannot transform the signed data in the same manner, the document cannot be verified.

Use a class that derives from the Transform class whenever you need to add one or more transform objects to an encrypted XML document or to a signed XML document.

For more information about the <Transform> element, see the XMLDSIG specification, which is available from the World Wide Web Consortium (W3C) at www.w3.org/TR/xmldsig-core/, or the XML encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.

.NET Framework
Available since 1.1

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: