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 密钥证明凭据。

属性

另请参阅

适用于