Export (0) Print
Expand All

Saml2Assertion Class

.NET Framework 4.6 and 4.5

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


Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class Saml2Assertion

The Saml2Assertion type exposes the following members.

Public methodSaml2AssertionInitializes a new instance of the Saml2Assertion class with the specified issuer.

Public propertyAdviceGets 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 propertyCanWriteSourceDataGets a value that indicates whether this assertion was deserialized from XML source and can re-emit the XML data unchanged.
Public propertyConditionsGets or sets the conditions that must be evaluated when assessing the validity of and/or when using the assertion. [Saml2Core 2.3.3]
Public propertyEncryptingCredentialsGets 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 propertyExternalEncryptedKeysGets 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 propertyIdGets or sets the identifier for this assertion. [Saml2Core, 2.3.3]
Public propertyIssueInstantGets or sets the time instant of issue in UTC. [Saml2Core, 2.3.3]
Public propertyIssuerGets or sets the identifier for the SAML authority that is making the claim(s) in the assertion. [Saml2Core, 2.3.3]
Public propertySigningCredentialsThe credentials used by the issuer to protect the integrity of the assertion.
Public propertyStatementsGets a collection that contains the statements regarding the subject made in this assertion.
Public propertySubjectGets or sets the subject of the statement(s) in the assertion. [Saml2Core, 2.3.3]
Public propertyVersionGets the SAML version of this assertion. [Saml2Core, 2.3.3]

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteSourceDataWrites the source data, if available.

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

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft