KeyAttestationHelper.DecryptTpmAttestationCredentialAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
DecryptTpmAttestationCredentialAsync(String) |
解密 TPM 金鑰證明認證。 |
DecryptTpmAttestationCredentialAsync(String, String) |
解密 TPM 金鑰證明認證。 |
DecryptTpmAttestationCredentialAsync(String)
解密 TPM 金鑰證明認證。
public:
static IAsyncOperation<Platform::String ^> ^ DecryptTpmAttestationCredentialAsync(Platform::String ^ credential);
/// [Windows.Foundation.Metadata.Overload("DecryptTpmAttestationCredentialAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<winrt::hstring> DecryptTpmAttestationCredentialAsync(winrt::hstring const& credential);
[Windows.Foundation.Metadata.Overload("DecryptTpmAttestationCredentialAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> DecryptTpmAttestationCredentialAsync(string credential);
function decryptTpmAttestationCredentialAsync(credential)
Public Shared Function DecryptTpmAttestationCredentialAsync (credential As String) As IAsyncOperation(Of String)
參數
- credential
-
String
Platform::String
winrt::hstring
傳回
- 屬性
適用於
DecryptTpmAttestationCredentialAsync(String, String)
解密 TPM 金鑰證明認證。
public:
static IAsyncOperation<Platform::String ^> ^ DecryptTpmAttestationCredentialAsync(Platform::String ^ credential, Platform::String ^ containerName);
/// [Windows.Foundation.Metadata.Overload("DecryptTpmAttestationCredentialWithContainerNameAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<winrt::hstring> DecryptTpmAttestationCredentialAsync(winrt::hstring const& credential, winrt::hstring const& containerName);
[Windows.Foundation.Metadata.Overload("DecryptTpmAttestationCredentialWithContainerNameAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> DecryptTpmAttestationCredentialAsync(string credential, string containerName);
function decryptTpmAttestationCredentialAsync(credential, containerName)
Public Shared Function DecryptTpmAttestationCredentialAsync (credential As String, containerName As String) As IAsyncOperation(Of String)
參數
- credential
-
String
Platform::String
winrt::hstring
要解密的 TPM 金鑰證明認證。
- containerName
-
String
Platform::String
winrt::hstring
認證的容器名稱。
傳回
當此方法完成時,它會傳回解密的 TPM 金鑰證明認證。
- 屬性