Saml2Assertion Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

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

The following tables list the members exposed by the Saml2Assertion type.

Public Constructors

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


Public Properties

  Name Description
public property 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]
public property CanWriteSourceData Gets a value that indicates whether this assertion was deserialized from XML source and can re-emit the XML data unchanged.
public property 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]
public property 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.
public property 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.
public property Id Gets or sets the identifier for this assertion. [Saml2Core, 2.3.3]
public property IssueInstant Gets or sets the time instant of issue in UTC. [Saml2Core, 2.3.3]
public property Issuer Gets or sets the identifier for the SAML authority that is making the claim(s) in the assertion. [Saml2Core, 2.3.3]
public property SigningCredentials The credentials used by the issuer to protect the integrity of the assertion.
public property Statements Gets a collection that contains the statements regarding the subject made in this assertion.
public property Subject Gets or sets the subject of the statement(s) in the assertion. [Saml2Core, 2.3.3]
public property Version Gets the SAML version of this assertion. [Saml2Core, 2.3.3]


Public Methods

(see also Protected Methods)

  Name Description
public method CaptureSourceData Captures the XML source data from an EnvelopedSignatureReader.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)
public method WriteSourceData Writes the source data, if available.


Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)


See Also


Saml2Assertion Class
Microsoft.IdentityModel.Tokens.Saml2 Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.