This documentation is archived and is not being maintained.

EncryptedXml.DocumentEvidence Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the evidence of the XmlDocument object from which the EncryptedXml object is constructed.

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

public Evidence DocumentEvidence { get; set; }
/** @property */
public Evidence get_DocumentEvidence ()

/** @property */
public void set_DocumentEvidence (Evidence value)

public function get DocumentEvidence () : Evidence

public function set DocumentEvidence (value : Evidence)

Property Value

An Evidence object.

If the XML document used to create the EncryptedXml object has any security evidence, you should add the evidence to the DocumentEvidence property. If you do not set this property, any associated CipherReference objects will not be dereferenced because they will not be granted the required permission set.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0