Class EncryptedID
- Namespace
- ComponentSpace.Saml2.Assertions
- Assembly
- ComponentSpace.Saml2.dll
Represents an encrypted identifier.
public class EncryptedID : EncryptedElementType
- Inheritance
-
EncryptedID
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
EncryptedID()
Initializes a new instance of the EncryptedID class.
public EncryptedID()
EncryptedID(XmlElement)
Initializes a new instance of the EncryptedID class from XML.
public EncryptedID(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe encrypted identifier XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Methods
IsValid(XmlElement)
Indicates whether the XML is an encrypted identifier.
public static bool IsValid(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe XML to test.
Returns
- bool
trueif the XML is an encrypted identifier; otherwisefalse.
ToXml(XmlDocument)
Serializes the encrypted identifier to XML.
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
xmlDocumentXmlDocumentThe owning XML document.
Returns
- XmlElement
The encrypted identifier as XML.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.