SmartCardCryptogramGenerator.CreateCryptogramMaterialStorageKeyAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
生成加密语法存储密钥。
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
新存储密钥的功能。
返回
一个异步操作,在尝试创建存储密钥后以操作状态完成。
- 属性