RsaSecurityToken Class

 

Represents a security token that is based upon key that is created using the RSA algorithm.

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

System.Object
  System.IdentityModel.Tokens.SecurityToken
    System.IdentityModel.Tokens.RsaSecurityToken

public class RsaSecurityToken : SecurityToken

NameDescription
System_CAPS_pubmethodRsaSecurityToken(RSA)

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

System_CAPS_pubmethodRsaSecurityToken(RSA, String)

Initializes a new instance of the RsaSecurityToken class using the specified RSA algorithm and unique identifier.

NameDescription
System_CAPS_pubpropertyId

Gets a unique identifier of the security token.(Overrides SecurityToken.Id.)

System_CAPS_pubpropertyRsa

Gets a RSA algorithm that is capable of creating an asymmetric key.

System_CAPS_pubpropertySecurityKeys

Gets the cryptographic keys associated with the security token.(Overrides SecurityToken.SecurityKeys.)

System_CAPS_pubpropertyValidFrom

Gets the first instant in time at which this security token is valid.(Overrides SecurityToken.ValidFrom.)

System_CAPS_pubpropertyValidTo

Gets the last instant in time at which this security token is valid.(Overrides SecurityToken.ValidTo.)

NameDescription
System_CAPS_pubmethodCanCreateKeyIdentifierClause<T>()

Gets a value that indicates whether this security token is capable of creating the specified key identifier.(Overrides SecurityToken.CanCreateKeyIdentifierClause<T>().)

System_CAPS_pubmethodCreateKeyIdentifierClause<T>()

Creates the specified key identifier clause.(Overrides SecurityToken.CreateKeyIdentifierClause<T>().)

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

Allows the RsaSecurityToken to free resources before it is destroyed by the garbage collector.(Overrides Object.Finalize().)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodMatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance matches the specified key identifier.(Overrides SecurityToken.MatchesKeyIdentifierClause(SecurityKeyIdentifierClause).)

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodResolveKeyIdentifierClause(SecurityKeyIdentifierClause)

Gets the key for the specified key identifier clause.(Inherited from SecurityToken.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Typically, application developers do not need to use the RsaSecurityToken class, unless a Web service must get the RSA algorithm that is associated with the security token. To get 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: