Share via


SmartCardProvisioning.RequestAttestedVirtualSmartCardCreationAsync Method

Definition

Overloads

RequestAttestedVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy)

Creates an attested Trusted Platform Module (TPM) virtual smart card with the specified parameters.

RequestAttestedVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy, Guid)

Creates an attested Trusted Platform Module (TPM) virtual smart card with the specified parameters.

RequestAttestedVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy)

Creates an attested Trusted Platform Module (TPM) virtual smart card with the specified parameters.

public:
 static IAsyncOperation<SmartCardProvisioning ^> ^ RequestAttestedVirtualSmartCardCreationAsync(Platform::String ^ friendlyName, IBuffer ^ administrativeKey, SmartCardPinPolicy ^ pinPolicy);
/// [Windows.Foundation.Metadata.Overload("RequestAttestedVirtualSmartCardCreationAsync")]
 static IAsyncOperation<SmartCardProvisioning> RequestAttestedVirtualSmartCardCreationAsync(winrt::hstring const& friendlyName, IBuffer const& administrativeKey, SmartCardPinPolicy const& pinPolicy);
[Windows.Foundation.Metadata.Overload("RequestAttestedVirtualSmartCardCreationAsync")]
public static IAsyncOperation<SmartCardProvisioning> RequestAttestedVirtualSmartCardCreationAsync(string friendlyName, IBuffer administrativeKey, SmartCardPinPolicy pinPolicy);
function requestAttestedVirtualSmartCardCreationAsync(friendlyName, administrativeKey, pinPolicy)
Public Shared Function RequestAttestedVirtualSmartCardCreationAsync (friendlyName As String, administrativeKey As IBuffer, pinPolicy As SmartCardPinPolicy) As IAsyncOperation(Of SmartCardProvisioning)

Parameters

friendlyName
String

Platform::String

winrt::hstring

The smart card's human-readable name.

administrativeKey
IBuffer

The smart card's admin key (also known as an administrator PIN or unblock PIN).

pinPolicy
SmartCardPinPolicy

The smart card's PIN rules set.

Returns

After the operation completes, returns an instance of SmartCardProvisioning, representing the configured TPM virtual smart card.

Attributes

Remarks

When this method is called, it displays a UI to get the PIN from the user.

See also

Applies to

RequestAttestedVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy, Guid)

Creates an attested Trusted Platform Module (TPM) virtual smart card with the specified parameters.

public:
 static IAsyncOperation<SmartCardProvisioning ^> ^ RequestAttestedVirtualSmartCardCreationAsync(Platform::String ^ friendlyName, IBuffer ^ administrativeKey, SmartCardPinPolicy ^ pinPolicy, Platform::Guid cardId);
/// [Windows.Foundation.Metadata.Overload("RequestAttestedVirtualSmartCardCreationAsyncWithCardId")]
 static IAsyncOperation<SmartCardProvisioning> RequestAttestedVirtualSmartCardCreationAsync(winrt::hstring const& friendlyName, IBuffer const& administrativeKey, SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId);
[Windows.Foundation.Metadata.Overload("RequestAttestedVirtualSmartCardCreationAsyncWithCardId")]
public static IAsyncOperation<SmartCardProvisioning> RequestAttestedVirtualSmartCardCreationAsync(string friendlyName, IBuffer administrativeKey, SmartCardPinPolicy pinPolicy, Guid cardId);
function requestAttestedVirtualSmartCardCreationAsync(friendlyName, administrativeKey, pinPolicy, cardId)
Public Shared Function RequestAttestedVirtualSmartCardCreationAsync (friendlyName As String, administrativeKey As IBuffer, pinPolicy As SmartCardPinPolicy, cardId As Guid) As IAsyncOperation(Of SmartCardProvisioning)

Parameters

friendlyName
String

Platform::String

winrt::hstring

The smart card's human-readable name.

administrativeKey
IBuffer

The smart card's admin key (also known as an administrator PIN or unblock PIN).

pinPolicy
SmartCardPinPolicy

The smart card's PIN rules set.

cardId
Guid

Platform::Guid

winrt::guid

The smart card's ID.

Returns

After the operation completes, returns an instance of SmartCardProvisioning, representing the configured TPM virtual smart card.

Attributes

Remarks

When this method is called, it displays a UI to get the PIN from the user.

See also

Applies to