共用方式為


KeyAttestationHelper.DecryptTpmAttestationCredentialAsync 方法

定義

多載

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

傳回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<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

認證的容器名稱。

傳回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

當此方法完成時,它會傳回解密的 TPM 金鑰證明認證。

屬性

另請參閱

適用於