Dela via


SmartCardCryptogramGenerator.TryProvePossessionOfCryptogramMaterialPackageAsync Method

Definition

This method allows the payment app to query the cryptogram generator for proof of material package possession.

public:
 virtual IAsyncOperation<SmartCardCryptogramMaterialPossessionProof ^> ^ TryProvePossessionOfCryptogramMaterialPackageAsync(SmartCardUnlockPromptingBehavior promptingBehavior, SmartCardCryptogramMaterialPackageConfirmationResponseFormat responseFormat, Platform::String ^ materialPackageName, Platform::String ^ materialName, IBuffer ^ challenge) = TryProvePossessionOfCryptogramMaterialPackageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramMaterialPossessionProof> TryProvePossessionOfCryptogramMaterialPackageAsync(SmartCardUnlockPromptingBehavior const& promptingBehavior, SmartCardCryptogramMaterialPackageConfirmationResponseFormat const& responseFormat, winrt::hstring const& materialPackageName, winrt::hstring const& materialName, IBuffer const& challenge);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramMaterialPossessionProof> TryProvePossessionOfCryptogramMaterialPackageAsync(SmartCardUnlockPromptingBehavior promptingBehavior, SmartCardCryptogramMaterialPackageConfirmationResponseFormat responseFormat, string materialPackageName, string materialName, IBuffer challenge);
function tryProvePossessionOfCryptogramMaterialPackageAsync(promptingBehavior, responseFormat, materialPackageName, materialName, challenge)
Public Function TryProvePossessionOfCryptogramMaterialPackageAsync (promptingBehavior As SmartCardUnlockPromptingBehavior, responseFormat As SmartCardCryptogramMaterialPackageConfirmationResponseFormat, materialPackageName As String, materialName As String, challenge As IBuffer) As IAsyncOperation(Of SmartCardCryptogramMaterialPossessionProof)

Parameters

promptingBehavior
SmartCardUnlockPromptingBehavior

The prompting behavior to display to the user for validation.

responseFormat
SmartCardCryptogramMaterialPackageConfirmationResponseFormat

The format of the response.

materialPackageName
String

Platform::String

winrt::hstring

The material package name.

materialName
String

Platform::String

winrt::hstring

The material name.

challenge
IBuffer

A buffer that contains the confirmation challenge token. The challenge token must consist of UTF-8 characters conformating to the following C# regular expression. ``` ^(?0\d{7})(?\d+)(?\d*[|][0-9a-fA-F][|]\d[|][QM])*$"

Returns

An asynchronous operation that completes with the material possession proof.

Attributes

Applies to

See also