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 SecurityKey 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() |
Initializes a new instance of the AsymmetricSecurityKey class. |
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 a value indicating the existence 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) |