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