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