Class EvidenceListItem
- Namespace
- ComponentSpace.Saml2.Assertions
- Assembly
- ComponentSpace.Saml2.dll
Represents an evidence list item.
public class EvidenceListItem
- Inheritance
-
EvidenceListItem
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
EvidenceListItem()
Initializes a new instance of the EvidenceListItem class.
public EvidenceListItem()
EvidenceListItem(XmlElement)
Initializes a new instance of the EvidenceListItem class from XML.
public EvidenceListItem(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe advice list item XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
AssertionIDRef
Gets or sets the assertion ID reference.
public AssertionIDRef AssertionIDRef { get; set; }
Property Value
- AssertionIDRef
The assertion ID reference.
AssertionUriRef
Gets or sets the assertion URI reference.
public AssertionUriRef AssertionUriRef { get; set; }
Property Value
- AssertionUriRef
The assertion URI reference.
EncryptedAssertion
Gets or sets the encrypted assertion.
public EncryptedAssertion EncryptedAssertion { get; set; }
Property Value
- EncryptedAssertion
The encrypted assertion.
SamlAssertion
Gets or sets the SAML assertion.
public SamlAssertion SamlAssertion { get; set; }
Property Value
- SamlAssertion
The SAML assertion.
Methods
IsValid(XmlElement)
Indicates whether the XML is an evidence list item.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an evidence list item; otherwisefalse.
ToXml(XmlDocument)
Serializes the evidence list item to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The evidence list item as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.