Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​Xml.​Transform
Assembly: System.Security.Cryptography.Xml
Inheritance: object → Transform
Represents the abstract base class from which all <see langword="<Transform>" /> elements that can be used in an XML digital signature derive.
Properties
public
string
Algorithm
Gets or sets the Uniform Resource Identifier (URI) that identifies the algorithm performed by the current transform.
Context
Gets or sets an <see cref="T:System.Xml.XmlElement" /> object that represents the document context under which the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object is running.
public
Type[]
InputTypes
When overridden in a derived class, gets an array of types that are valid inputs to the <see cref="M:System.Security.Cryptography.Xml.Transform.LoadInput(System.Object)" /> method of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
public
Type[]
OutputTypes
When overridden in a derived class, gets an array of types that are possible outputs from the <see cref="M:System.Security.Cryptography.Xml.Transform.GetOutput" /> methods of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
PropagatedNamespaces
Gets or sets a <see cref="T:System.Collections.Hashtable" /> object that contains the namespaces that are propagated into the signature.
Resolver
Sets the current <see cref="T:System.Xml.XmlResolver" /> object.
Methods
public
byte[]
GetDigestedOutput​(HashAlgorithm hash)
When overridden in a derived class, returns the digest associated with a <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
Returns The digest associated with a <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
hash
The <see cref="T:System.Security.Cryptography.HashAlgorithm" /> object used to create a digest.
protected
Xml.​XmlNodeList
GetInnerXml​()
When overridden in a derived class, returns an XML representation of the parameters of the <see cref="T:System.Security.Cryptography.Xml.Transform" /> object that are suitable to be included as subelements of an XMLDSIG <see langword="<Transform>" /> element.
Returns A list of the XML nodes that represent the transform-specific content needed to describe the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object in an XMLDSIG <see langword="<Transform>" /> element.
public
object
GetOutput​()
When overridden in a derived class, returns the output of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
Returns The output of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
public
object
GetOutput​(Type type)
When overridden in a derived class, returns the output of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object of the specified type.
Returns The output of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object as an object of the specified type.
type
The type of the output to return. This must be one of the types in the <see cref="P:System.Security.Cryptography.Xml.Transform.OutputTypes" /> property.
GetXml​()
Returns the XML representation of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
Returns The XML representation of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
public
void
LoadInnerXml​(Xml.​XmlNodeList nodeList)
When overridden in a derived class, parses the specified <see cref="T:System.Xml.XmlNodeList" /> object as transform-specific content of a <see langword="<Transform>" /> element and configures the internal state of the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object to match the <see langword="<Transform>" /> element.
nodeList
An <see cref="T:System.Xml.XmlNodeList" /> object that specifies transform-specific content for the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
public
void
LoadInput​(object obj)
When overridden in a derived class, loads the specified input into the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
obj
The input to load into the current <see cref="T:System.Security.Cryptography.Xml.Transform" /> object.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object