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