संपादित करें

इसके माध्यम से साझा किया गया


RsaKeyIdentifierClause Class

Definition

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

public ref class RsaKeyIdentifierClause : System::IdentityModel::Tokens::SecurityKeyIdentifierClause
public class RsaKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause
type RsaKeyIdentifierClause = class
    inherit SecurityKeyIdentifierClause
Public Class RsaKeyIdentifierClause
Inherits SecurityKeyIdentifierClause
Inheritance
RsaKeyIdentifierClause

Remarks

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.

Constructors

RsaKeyIdentifierClause(RSA)

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

Properties

CanCreateKey

Gets a value that indicates whether a key can be created from the key identifier clause.

ClauseType

Gets the key identifier clause type.

(Inherited from SecurityKeyIdentifierClause)
DerivationLength

Gets the size of the derived key.

(Inherited from SecurityKeyIdentifierClause)
Id

Gets or sets the key identifier clause ID.

(Inherited from SecurityKeyIdentifierClause)
Rsa

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

Methods

CreateKey()

Creates a key using the RSA algorithm.

Equals(Object)

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

(Inherited from Object)
GetDerivationNonce()

Gets the nonce that was used to generate the derived key.

(Inherited from SecurityKeyIdentifierClause)
GetExponent()

Gets the Exponent parameter for the RSA algorithm.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetModulus()

Gets the Modulus parameter for the RSA algorithm.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
Matches(RSA)

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

Matches(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified key identifier clause.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

WriteExponentAsBase64(XmlWriter)

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

WriteModulusAsBase64(XmlWriter)

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

Applies to