Table of Contents

Class Evidence

Namespace
ComponentSpace.Saml2.Assertions
Assembly
ComponentSpace.Saml2.dll

Represents evidence.

public class Evidence
Inheritance
Evidence
Inherited Members

Remarks

Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

Evidence()

Initializes a new instance of the Evidence class.

public Evidence()

Evidence(XmlElement)

Initializes a new instance of the Evidence class from XML.

public Evidence(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The evidence XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

EvidenceList

Gets or sets the list of evidence items.

public IList<EvidenceListItem> EvidenceList { get; set; }

Property Value

IList<EvidenceListItem>

The list of evidence items.

Methods

IsValid(XmlElement)

Indicates whether the XML is evidence.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is evidence; otherwise false.

ToXml(XmlDocument)

Serializes the evidence to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The evidence as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.