Class EncryptedElementType
- Namespace
- ComponentSpace.Saml2.Assertions
- Assembly
- ComponentSpace.Saml2.dll
Represents the encrypted element type.
public class EncryptedElementType
- Inheritance
-
EncryptedElementType
- Derived
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
EncryptedElementType()
Initializes a new instance of the EncryptedElementType class.
public EncryptedElementType()
EncryptedElementType(XmlElement)
Initializes a new instance of the EncryptedElementType class from XML.
public EncryptedElementType(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe encrypted element XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
EncryptedData
Gets or sets the encrypted data.
public XmlElement EncryptedData { get; set; }
Property Value
- XmlElement
The encrypted data.
EncryptedKeys
Gets or sets the encrypted keys.
public IEnumerable<XmlElement> EncryptedKeys { get; set; }
Property Value
- IEnumerable<XmlElement>
The encrypted keys.
Methods
ToXml(XmlElement)
Serializes the encrypted element to XML.
public void ToXml(XmlElement xmlElement)
Parameters
xmlElementXmlElement
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.