SmartCardCryptogramGenerator.TryProvePossessionOfCryptogramMaterialPackageAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此方法可讓付款應用程式查詢密碼編譯器產生器,以取得材料套件擁有證明。
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
向使用者顯示以進行驗證的提示行為。
- responseFormat
- SmartCardCryptogramMaterialPackageConfirmationResponseFormat
回應的格式。
- 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]) *$」
傳回
以材料擁有證明完成的非同步作業。
- 屬性