語言

ManagedKeyVaultSecurityKey 類別

定義

使用 Azure Key Vault 為使用 Azure 資源管理身份的資源提供簽署與驗證操作。

public class ManagedKeyVaultSecurityKey : Microsoft.IdentityModel.KeyVaultExtensions.KeyVaultSecurityKey
type ManagedKeyVaultSecurityKey = class
    inherit KeyVaultSecurityKey
Public Class ManagedKeyVaultSecurityKey
Inherits KeyVaultSecurityKey
繼承
ManagedKeyVaultSecurityKey

建構函式

名稱 Description
ManagedKeyVaultSecurityKey(String, KeyVaultSecurityKey+AuthenticationCallback)

初始化 ManagedKeyVaultSecurityKey 類別的新執行個體。

ManagedKeyVaultSecurityKey(String, String, String)

初始化 ManagedKeyVaultSecurityKey 類別的新執行個體。

ManagedKeyVaultSecurityKey(String)

初始化 ManagedKeyVaultSecurityKey 類別的新執行個體。

屬性

名稱 Description
Callback

驗證回調代理,負責取得 KeyVault 的存取權杖。

(繼承來源 KeyVaultSecurityKey)
CryptoProviderFactory

得或定。CryptoProviderFactory

(繼承來源 SecurityKey)
KeyId

安全金鑰的統一資源識別碼。

(繼承來源 KeyVaultSecurityKey)
KeySize

安全鑰匙的大小。

(繼承來源 KeyVaultSecurityKey)

方法

名稱 Description
CanComputeJwkThumbprint()

判斷是否 SecurityKey 能計算 JWK 的指紋。

(繼承來源 SecurityKey)
ComputeJwkThumbprint()

計算 sha256 雜湊值。SecurityKey

(繼承來源 SecurityKey)
IsSupportedAlgorithm(String)

檢查 是否 CryptoProviderFactory 能執行由 algorithm 指定的密碼學運算,且 SecurityKey。

(繼承來源 SecurityKey)
ToString()

回傳格式化字串:GetType()、KeyId: 'value', InternalId: 'value'.

(繼承來源 SecurityKey)

適用於