Compartilhar via


KeyAttestationHelper.DecryptTpmAttestationCredentialAsync Método

Definição

Sobrecargas

DecryptTpmAttestationCredentialAsync(String)

Descriptografa uma credencial de atestado de chave TPM.

DecryptTpmAttestationCredentialAsync(String, String)

Descriptografa uma credencial de atestado de chave TPM.

DecryptTpmAttestationCredentialAsync(String)

Descriptografa uma credencial de atestado de chave 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)

Parâmetros

credential
String

Platform::String

winrt::hstring

Retornos

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Atributos

Aplica-se a

DecryptTpmAttestationCredentialAsync(String, String)

Descriptografa uma credencial de atestado de chave 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)

Parâmetros

credential
String

Platform::String

winrt::hstring

A credencial de atestado de chave do TPM a ser descriptografada.

containerName
String

Platform::String

winrt::hstring

O nome do contêiner da credencial.

Retornos

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Quando esse método for concluído, ele retornará a credencial de atestado de chave TPM descriptografada.

Atributos

Confira também

Aplica-se a