Compartilhar via


KeyVaultSecurityKey Class

Definition

Provides signing and verifying operations using Azure Key Vault.

public class KeyVaultSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey
type KeyVaultSecurityKey = class
    inherit SecurityKey
Public Class KeyVaultSecurityKey
Inherits SecurityKey
Inheritance
KeyVaultSecurityKey
Derived

Constructors

KeyVaultSecurityKey()

Initializes a new instance of the KeyVaultSecurityKey class.

KeyVaultSecurityKey(String, KeyVaultSecurityKey+AuthenticationCallback)

Initializes a new instance of the KeyVaultSecurityKey class.

Properties

Callback

The authentication callback delegate that retrieves an access token for the KeyVault.

CryptoProviderFactory

Gets or sets CryptoProviderFactory.

(Inherited from SecurityKey)
KeyId

The uniform resource identifier of the security key.

KeySize

The size of the security 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 algorithm with this SecurityKey.

(Inherited from SecurityKey)
ToString()

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

(Inherited from SecurityKey)

Applies to