Table of Contents

Class SubjectConfirmation

Namespace
ComponentSpace.Saml2.Assertions
Assembly
ComponentSpace.Saml2.dll

Represents a subject confirmation.

public class SubjectConfirmation
Inheritance
SubjectConfirmation
Inherited Members

Remarks

Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

SubjectConfirmation()

Initializes a new instance of the SubjectConfirmation class.

public SubjectConfirmation()

SubjectConfirmation(XmlElement)

Initializes a new instance of the SubjectConfirmation class from XML.

public SubjectConfirmation(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The subject confirmation XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

BaseID

Gets or sets the base identifier.

public BaseID BaseID { get; set; }

Property Value

BaseID

The base identifier.

EncryptedID

Gets or sets the encrypted identifier.

public EncryptedID EncryptedID { get; set; }

Property Value

EncryptedID

The encrypted identifier.

Method

Gets or sets the method.

public string Method { get; set; }

Property Value

string

The method.

See Also

NameID

Gets or sets the name identifier.

public NameID NameID { get; set; }

Property Value

NameID

The name identifier.

SubjectConfirmationData

Gets or sets the subject confirmation data.

public SubjectConfirmationData SubjectConfirmationData { get; set; }

Property Value

SubjectConfirmationData

The subject confirmation data.

Methods

IsValid(XmlElement)

Indicates whether the XML is a subject confirmation.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a subject confirmation; otherwise false.

ToXml(XmlDocument)

Serializes the subject confirmation to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The subject confirmation as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.