Saml2Assertion Class

Definition

Represents the Assertion element specified in [Saml2Core, 2.3.3].

public ref class Saml2Assertion
public class Saml2Assertion
type Saml2Assertion = class
Public Class Saml2Assertion
Inheritance
Saml2Assertion

Remarks

For more information about the element that this class represents, see the SAML V2.0 Core specification.

Constructors

Saml2Assertion(Saml2NameIdentifier)

Initializes a new instance of the Saml2Assertion class with the specified issuer.

Properties

Advice

Gets or sets additional information related to the assertion that assists processing in certain situations but which may be ignored by applications that do not understand the advice or do not wish to make use of it. [Saml2Core, 2.3.3]

CanWriteSourceData

Gets a value that indicates whether this assertion was deserialized from XML source and can re-emit the XML data unchanged.

Conditions

Gets or sets the conditions that must be evaluated when assessing the validity of and/or when using the assertion. [Saml2Core 2.3.3]

EncryptingCredentials

Gets or sets the credentials used for encrypting the assertion. The key identifier in the encrypting credentials is used for the embedded EncryptedKey in the EncryptedData element.

ExternalEncryptedKeys

Gets or sets a collection that contains any additional encrypted keys that are specified external to the EncryptedData element, as children of the EncryptedAssertion element.

Id

Gets or sets the identifier for this assertion. [Saml2Core, 2.3.3]

IssueInstant

Gets or sets the time instant of issue in UTC. [Saml2Core, 2.3.3]

Issuer

Gets or sets the identifier for the SAML authority that is making the claim(s) in the assertion. [Saml2Core, 2.3.3]

SigningCredentials

The credentials used by the issuer to protect the integrity of the assertion.

Statements

Gets a collection that contains the statements regarding the subject made in this assertion.

Subject

Gets or sets the subject of the statement(s) in the assertion. [Saml2Core, 2.3.3]

Version

Gets the SAML version of this assertion. [Saml2Core, 2.3.3]

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteSourceData(XmlWriter)

Writes the source data, if available.

Applies to