RsaKeyIdentifierClause Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetModulus() |
Gets the |
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 |
WriteModulusAsBase64(XmlWriter) |
Writes the Base64 encoded |