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.​XmlDecryptionTransform

Assembly: System.Security.Cryptography.Xml

Inheritance: object → Transform → XmlDecryptionTransform

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

Properties

public EncryptedXml
EncryptedXml
Gets or sets an <see cref="T:System.Security.Cryptography.Xml.EncryptedXml" /> object that contains information about the keys necessary to decrypt an XML document.
public Type[]
InputTypes
Gets an array of types that are valid inputs to the <see cref="M:System.Security.Cryptography.Xml.XmlDecryptionTransform.LoadInput(System.Object)" /> method of the current <see cref="T:System.Security.Cryptography.Xml.XmlDecryptionTransform" /> object.
public Type[]
OutputTypes
Gets an array of types that are possible outputs from the <see cref="M:System.Security.Cryptography.Xml.XmlDecryptionTransform.GetOutput" /> methods of the current <see cref="T:System.Security.Cryptography.Xml.XmlDecryptionTransform" /> object.
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.
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 void
AddExceptUri​(string uri)
Adds a Uniform Resource Identifier (URI) to exclude from processing.
uri A Uniform Resource Identifier (URI) to exclude from processing.
protected Xml.​XmlNodeList
GetInnerXml​()
Returns an XML representation of the parameters of an <see cref="T:System.Security.Cryptography.Xml.XmlDecryptionTransform" /> object that are suitable to be included as subelements of an XMLDSIG <see langword="&lt;Transform&gt;" /> 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.XmlDecryptionTransform" /> object in an XMLDSIG <see langword="&lt;Transform&gt;" /> element.
public object
GetOutput​()
Returns the output of the current <see cref="T:System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform" /> object.
Returns The output of the current <see cref="T:System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform" /> object.
public object
GetOutput​(Type type)
Returns the output of the current <see cref="T:System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform" /> object.
Returns The output of the current <see cref="T:System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform" /> object.
type The type of the output to return. <see cref="T:System.Xml.XmlNodeList" /> is the only valid type for this parameter.
protected bool
IsTargetElement​(Xml.​XmlElement? inputElement, string idValue)
Determines whether the ID attribute of an <see cref="T:System.Xml.XmlElement" /> object matches a specified value.
Returns <see langword="true" /> if the ID attribute of the <paramref name="inputElement" /> parameter matches the <paramref name="idValue" /> parameter; otherwise, <see langword="false" /> .
inputElement An <see cref="T:System.Xml.XmlElement" /> object with an ID attribute to compare with <paramref name="idValue" /> .
idValue The value to compare with the ID attribute of <paramref name="inputElement" /> .
public void
LoadInnerXml​(Xml.​XmlNodeList nodeList)
Parses the specified <see cref="T:System.Xml.XmlNodeList" /> object as transform-specific content of a <see langword="&lt;Transform&gt;" /> element and configures the internal state of the current <see cref="T:System.Security.Cryptography.Xml.XmlDecryptionTransform" /> object to match the <see langword="&lt;Transform&gt;" /> 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.XmlDecryptionTransform" /> 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.XmlDecryptionTransform" /> object.
obj The input to load into the current <see cref="T:System.Security.Cryptography.Xml.XmlDecryptionTransform" /> object.
public byte[]
GetDigestedOutput​(HashAlgorithm hash)
Inherited from Transform
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.
GetXml​()
Inherited from Transform
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 bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object