Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SamlAssertionKeyIdentifierClause Class
Collapse the table of content
Expand the table of content

SamlAssertionKeyIdentifierClause Class

Represents a <KeyIndentifier> element that references a <saml:Assertion> element in a SOAP message.


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

type SamlAssertionKeyIdentifierClause =  
        inherit SecurityKeyIdentifierClause 

The SamlAssertionKeyIdentifierClause type exposes the following members.

Public methodSamlAssertionKeyIdentifierClause(String)Initializes a new instance of the SamlAssertionKeyIdentifierClause class using the specified SAML assertion identifier.
Public methodSamlAssertionKeyIdentifierClause(String, Byte[], Int32)Initializes a new instance of the SamlAssertionKeyIdentifierClause class using the specified SAML assertion identifier, nonce, and key length.

Public propertyAssertionIdGets the identifier for the SamlAssertion that contains the key identifier.
Public propertyCanCreateKeyGets a value that indicates whether a key can be created. (Inherited from SecurityKeyIdentifierClause.)
Public propertyClauseTypeGets the key identifier clause type. (Inherited from SecurityKeyIdentifierClause.)
Public propertyDerivationLengthGets the size of the derived key. (Inherited from SecurityKeyIdentifierClause.)
Public propertyIdGets or sets the key identifier clause ID. (Inherited from SecurityKeyIdentifierClause.)

Public methodCreateKeyCreates a key based on the parameters passed into the constructor. (Inherited from SecurityKeyIdentifierClause.)
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 methodGetDerivationNonceGets the nonce that was used to generate the derived key. (Inherited from SecurityKeyIdentifierClause.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMatches(SecurityKeyIdentifierClause)Determines whether the specified key identifier is the same as the current instance. (Overrides SecurityKeyIdentifierClause.Matches(SecurityKeyIdentifierClause).)
Public methodMatches(String)Determines whether the specified SAML assertion identifier is the same as the current instance.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a String that includes the SAML assertion identifier that represents the current key identifier clause. (Overrides Object.ToString().)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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