Compartilhar via


SmartCardCryptogramGenerator.TryProvePossessionOfCryptogramMaterialPackageAsync Método

Definição

Esse método permite que o aplicativo de pagamento consulte o gerador de criptograma para obter a prova de posse do pacote material.

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)

Parâmetros

promptingBehavior
SmartCardUnlockPromptingBehavior

O comportamento de solicitação a ser exibido ao usuário para validação.

responseFormat
SmartCardCryptogramMaterialPackageConfirmationResponseFormat

O formato da resposta.

materialPackageName
String

Platform::String

winrt::hstring

O nome do pacote de material.

materialName
String

Platform::String

winrt::hstring

O nome do material.

challenge
IBuffer

Um buffer que contém o token de desafio de confirmação. O token de desafio deve consistir em caracteres UTF-8 em conformidade com a expressão regular C# a seguir. ''' ^(?0\d{7})(?\d+)(?\d*[|] [0-9a-fA-F] [|] \d[|] [QM]) *$"

Retornos

Uma operação assíncrona que é concluída com a prova de posse material.

Atributos

Aplica-se a

Confira também