RsaKeyIdentifierClause Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a key identifier clause that identifies a RsaSecurityToken security token.

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

System.Object
  System.IdentityModel.Tokens.SecurityKeyIdentifierClause
    System.IdentityModel.Tokens.RsaKeyIdentifierClause

public class RsaKeyIdentifierClause : SecurityKeyIdentifierClause

NameDescription
System_CAPS_pubmethodRsaKeyIdentifierClause(RSA)

Initializes a new instance of the RsaKeyIdentifierClause class using the specified RSA algorithm.

NameDescription
System_CAPS_pubpropertyCanCreateKey

Gets a value that indicates whether a key can be created from the key identifier clause.(Overrides SecurityKeyIdentifierClause.CanCreateKey.)

System_CAPS_pubpropertyClauseType

Gets the key identifier clause type.(Inherited from SecurityKeyIdentifierClause.)

System_CAPS_pubpropertyDerivationLength

Gets the size of the derived key.(Inherited from SecurityKeyIdentifierClause.)

System_CAPS_pubpropertyId

Gets or sets the key identifier clause ID.(Inherited from SecurityKeyIdentifierClause.)

System_CAPS_pubpropertyRsa

Gets the RSA algorithm that is associated with the key identifier clause.

NameDescription
System_CAPS_pubmethodCreateKey()

Creates a key using the RSA algorithm.(Overrides SecurityKeyIdentifierClause.CreateKey().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetDerivationNonce()

Gets the nonce that was used to generate the derived key.(Inherited from SecurityKeyIdentifierClause.)

System_CAPS_pubmethodGetExponent()

Gets the Exponent parameter for the RSA algorithm.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetModulus()

Gets the Modulus parameter for the RSA algorithm.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodMatches(RSA)

Returns a value that indicates whether the key identifier for this instance matches the specified RSA algorithm.

System_CAPS_pubmethodMatches(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified key identifier clause.(Overrides SecurityKeyIdentifierClause.Matches(SecurityKeyIdentifierClause).)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides Object.ToString().)

System_CAPS_pubmethodWriteExponentAsBase64(XmlWriter)

Writes the Base64 encoded Exponent parameter of the RSA algorithm into the specified XML serializer.

System_CAPS_pubmethodWriteModulusAsBase64(XmlWriter)

Writes the Base64 encoded Modulus parameter of the RSA algorithm into the specified XML serializer.

Typically, the RsaKeyIdentifierClause does not need to be used, other than when a custom security token service is created. When a security token service returns a security token, the issued security token contains references to attached and unattached security tokens. Attached references refer to security tokens that are contained within the security header of a SOAP message and unattached references are security tokens that are not included within the security header in the SOAP message. These references typically affirm the authenticity of the issued security token. Use the RsaKeyIdentifierClause class to reference a RsaSecurityToken security token and to access the RSA algorithm. To access the RSA algorithm, get the value of the Rsa property.

.NET Framework
Available since 3.0

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

Return to top
Show: