共用方式為


SmartCardCryptogramGenerator.TryProvePossessionOfCryptogramMaterialPackageAsync 方法

定義

此方法可讓付款應用程式查詢密碼編譯器產生器,以取得材料套件擁有證明。

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)

參數

promptingBehavior
SmartCardUnlockPromptingBehavior

向使用者顯示以進行驗證的提示行為。

materialPackageName
String

Platform::String

winrt::hstring

材料套件名稱。

materialName
String

Platform::String

winrt::hstring

材質名稱。

challenge
IBuffer

包含確認挑戰權杖的緩衝區。 挑戰權杖必須包含符合下列 C# 正則運算式的 UTF-8 字元。 ''' ^ (?0\d {7}) (?\d+) (?\d*[|][0-9a-fA-F][|]\d[|][QM]) *$」

傳回

以材料擁有證明完成的非同步作業。

屬性

適用於

另請參閱