RsaSecurityKey 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 Rsa security key.
public class RsaSecurityKey : Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey
type RsaSecurityKey = class
inherit AsymmetricSecurityKey
Public Class RsaSecurityKey
Inherits AsymmetricSecurityKey
- Inheritance
Constructors
RsaSecurityKey(RSA) |
Initializes a new instance of the RsaSecurityKey class. |
RsaSecurityKey(RSAParameters) |
Initializes a new instance of the RsaSecurityKey class. |
Properties
CryptoProviderFactory |
Gets or sets CryptoProviderFactory. (Inherited from SecurityKey) |
HasPrivateKey |
Obsolete.
Gets a bool indicating if a private key exists. |
KeyId |
Gets the key id of this SecurityKey. (Inherited from SecurityKey) |
KeySize |
Gets RSA key size. |
Parameters |
RSAParameters used to initialize the key. |
PrivateKeyStatus |
Gets an enum indicating if a private key exists. |
Rsa |
RSA instance used to initialize the key. |
Methods
CanComputeJwkThumbprint() |
Determines whether the RsaSecurityKey can compute a JWK thumbprint. |
ComputeJwkThumbprint() |
Computes a sha256 hash over the RsaSecurityKey. |
IsSupportedAlgorithm(String) |
Checks if CryptoProviderFactory can perform the cryptographic operation specified by the |
ToString() |
Returns the formatted string: GetType(), KeyId: 'value', InternalId: 'value'. (Inherited from SecurityKey) |