ECDsaSecurityKey Class

Definition

Represents a ECDsa security key.

public class ECDsaSecurityKey : Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey
type ECDsaSecurityKey = class
    inherit AsymmetricSecurityKey
Public Class ECDsaSecurityKey
Inherits AsymmetricSecurityKey
Inheritance

Constructors

ECDsaSecurityKey(ECDsa)

Initializes a new instance of the ECDsaSecurityKey class.

Properties

CryptoProviderFactory

Gets or sets CryptoProviderFactory.

(Inherited from SecurityKey)
ECDsa

The ECDsa instance used to initialize the key.

HasPrivateKey
Obsolete.

Gets a bool indicating if a private key exists.

KeyId

Gets the key id of this SecurityKey.

(Inherited from SecurityKey)
KeySize

Gets the ECDsa key size.

PrivateKeyStatus

Gets a value indicating the existence of the private key.

Methods

CanComputeJwkThumbprint()

Determines whether the ECDsaSecurityKey can compute a JWK thumbprint.

ComputeJwkThumbprint()

Computes a SHA256 hash over the ECDsaSecurityKey.

IsSupportedAlgorithm(String)

Checks if CryptoProviderFactory can perform the cryptographic operation specified by the algorithm with this SecurityKey.

(Inherited from SecurityKey)
ToString()

Returns the formatted string: GetType(), KeyId: 'value', InternalId: 'value'.

(Inherited from SecurityKey)

Applies to