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)

Returns a new instance of ECDsaSecurityKey.

Properties

CryptoProviderFactory

Gets or sets CryptoProviderFactory.

(Inherited from SecurityKey)
ECDsa

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 ECDsa key size.

PrivateKeyStatus

Gets an enum indicating if a private key exists.

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