Class EncryptedID
Represents an encrypted identifier.
Inherited Members
Namespace: ComponentSpace.Saml2.Assertions
Assembly: ComponentSpace.Saml2.dll
Syntax
public class EncryptedID : EncryptedElementType
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.
Declaration
public EncryptedID()
EncryptedID(XmlElement)
Initializes a new instance of the EncryptedID
class from XML.
Declaration
public EncryptedID(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
XmlElement | xmlElement | The encrypted identifier XML. |
Exceptions
Type | Condition |
---|---|
SamlSerializationException | Thrown when the XML deserialization fails. |
Methods
IsValid(XmlElement)
Indicates whether the XML is an encrypted identifier.
Declaration
public static bool IsValid(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
XmlElement | xmlElement | The XML to test. |
Returns
Type | Description |
---|---|
bool |
|
ToXml(XmlDocument)
Serializes the encrypted identifier to XML.
Declaration
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
Type | Name | Description |
---|---|---|
XmlDocument | xmlDocument | The owning XML document. |
Returns
Type | Description |
---|---|
XmlElement | The encrypted identifier as XML. |
Exceptions
Type | Condition |
---|---|
SamlSerializationException | Thrown when the XML serialization fails. |