KeyAttestationHelper KeyAttestationHelper KeyAttestationHelper KeyAttestationHelper Class

Provides access to key attestation methods.

Syntax

Declaration

public static class KeyAttestationHelperpublic static class KeyAttestationHelperPublic Static Class KeyAttestationHelper

Methods summary

Decrypts a TPM key attestation credential.

Decrypts a TPM key attestation credential.

Gets the credential ID from a TPM key attestation credential.

Methods

  • DecryptTpmAttestationCredentialAsync(System.String)
    DecryptTpmAttestationCredentialAsync(System.String)
    DecryptTpmAttestationCredentialAsync(System.String)
    DecryptTpmAttestationCredentialAsync(System.String)

    Decrypts a TPM key attestation credential.

    public static IAsyncOperation<string> DecryptTpmAttestationCredentialAsync(System.String credential)public static IAsyncOperation<string> DecryptTpmAttestationCredentialAsync(System.String credential)Public Static Function DecryptTpmAttestationCredentialAsync(credential As System.String) As IAsyncOperation( Of string )

    Parameters

    • credential
      System.String
      System.String
      System.String
      System.String

    Returns

  • DecryptTpmAttestationCredentialAsync(System.String,System.String)
    DecryptTpmAttestationCredentialAsync(System.String,System.String)
    DecryptTpmAttestationCredentialAsync(System.String,System.String)
    DecryptTpmAttestationCredentialAsync(System.String,System.String)

    Decrypts a TPM key attestation credential.

    public static IAsyncOperation<string> DecryptTpmAttestationCredentialAsync(System.String credential,System.String containerName)public static IAsyncOperation<string> DecryptTpmAttestationCredentialAsync(System.String credential,System.String containerName)Public Static Function DecryptTpmAttestationCredentialAsync(credential As System.String,containerName As System.String) As IAsyncOperation( Of string )

    Parameters

    • credential
      System.String
      System.String
      System.String
      System.String

      The TPM key attestation credential to decrypt.

    • containerName
      System.String
      System.String
      System.String
      System.String

      The container name of the credential.

    Returns

    • When this method completes, it returns the decrypted TPM key attestation credential.

  • GetTpmAttestationCredentialId(System.String)
    GetTpmAttestationCredentialId(System.String)
    GetTpmAttestationCredentialId(System.String)
    GetTpmAttestationCredentialId(System.String)

    Gets the credential ID from a TPM key attestation credential.

    public static string GetTpmAttestationCredentialId(System.String credential)public static string GetTpmAttestationCredentialId(System.String credential)Public Static Function GetTpmAttestationCredentialId(credential As System.String) As string

    Parameters

    • credential
      System.String
      System.String
      System.String
      System.String

      The TPM key attestation credential to get the credential ID from.

    Returns

    • string
      string
      string
      string

      The credential ID from the TPM key attestation credential.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Security.Cryptography.Certificates.dll