AsymmetricSecurityKey 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.
Base class for a Security Key that contains Asymmetric key material.
public abstract class AsymmetricSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey
type AsymmetricSecurityKey = class
inherit SecurityKey
Public MustInherit Class AsymmetricSecurityKey
Inherits SecurityKey
- Inheritance
- Derived
Constructors
AsymmetricSecurityKey() |
Default constructor |
Properties
CryptoProviderFactory |
Gets or sets CryptoProviderFactory. (Inherited from SecurityKey) |
HasPrivateKey |
Obsolete.
This must be overridden to get a bool indicating if a private key exists. |
KeyId |
Gets the key id of this SecurityKey. (Inherited from SecurityKey) |
KeySize |
This must be overridden to get the size of this SecurityKey. (Inherited from SecurityKey) |
PrivateKeyStatus |
Gets the status of the private key. |
Methods
CanComputeJwkThumbprint() |
Determines whether the SecurityKey can compute a JWK thumbprint. (Inherited from SecurityKey) |
ComputeJwkThumbprint() |
Computes a sha256 hash over the SecurityKey. (Inherited from SecurityKey) |
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) |
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour