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
xmlElementXmlElementThe 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
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is evidence; otherwisefalse.
ToXml(XmlDocument)
Serializes the evidence to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The evidence as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.