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