KeyAttestationHelper.DecryptTpmAttestationCredentialAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DecryptTpmAttestationCredentialAsync(String) |
Decrypts a TPM key attestation credential. |
DecryptTpmAttestationCredentialAsync(String, String) |
Decrypts a TPM key attestation credential. |
DecryptTpmAttestationCredentialAsync(String)
Decrypts a TPM key attestation credential.
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)
Parameters
- credential
-
String
Platform::String
winrt::hstring
Returns
- Attributes
Applies to
DecryptTpmAttestationCredentialAsync(String, String)
Decrypts a TPM key attestation credential.
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)
Parameters
- credential
-
String
Platform::String
winrt::hstring
The TPM key attestation credential to decrypt.
- containerName
-
String
Platform::String
winrt::hstring
The container name of the credential.
Returns
When this method completes, it returns the decrypted TPM key attestation credential.
- Attributes