SmartCardCryptogramGenerator.CreateCryptogramMaterialStorageKeyAsync 方法

定义

生成加密语法存储密钥。

public:
 virtual IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> ^ CreateCryptogramMaterialStorageKeyAsync(SmartCardUnlockPromptingBehavior promptingBehavior, Platform::String ^ storageKeyName, SmartCardCryptogramStorageKeyAlgorithm algorithm, SmartCardCryptogramStorageKeyCapabilities capabilities) = CreateCryptogramMaterialStorageKeyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> CreateCryptogramMaterialStorageKeyAsync(SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::hstring const& storageKeyName, SmartCardCryptogramStorageKeyAlgorithm const& algorithm, SmartCardCryptogramStorageKeyCapabilities const& capabilities);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> CreateCryptogramMaterialStorageKeyAsync(SmartCardUnlockPromptingBehavior promptingBehavior, string storageKeyName, SmartCardCryptogramStorageKeyAlgorithm algorithm, SmartCardCryptogramStorageKeyCapabilities capabilities);
function createCryptogramMaterialStorageKeyAsync(promptingBehavior, storageKeyName, algorithm, capabilities)
Public Function CreateCryptogramMaterialStorageKeyAsync (promptingBehavior As SmartCardUnlockPromptingBehavior, storageKeyName As String, algorithm As SmartCardCryptogramStorageKeyAlgorithm, capabilities As SmartCardCryptogramStorageKeyCapabilities) As IAsyncOperation(Of SmartCardCryptogramGeneratorOperationStatus)

参数

promptingBehavior
SmartCardUnlockPromptingBehavior

用户提示行为。

storageKeyName
String

Platform::String

winrt::hstring

新存储密钥的名称。

algorithm
SmartCardCryptogramStorageKeyAlgorithm

用于存储密钥的加密算法。

capabilities
SmartCardCryptogramStorageKeyCapabilities

新存储密钥的功能。

返回

一个异步操作,在尝试创建存储密钥后以操作状态完成。

属性

适用于

另请参阅