Dela via


SmartCardCryptogramGenerator Class

Definition

Represents the mechanism for providing hardware supported for secure payment applications and protocols.

public ref class SmartCardCryptogramGenerator sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardEmulatorContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SmartCardCryptogramGenerator final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SmartCardCryptogramGenerator
Public NotInheritable Class SmartCardCryptogramGenerator
Inheritance
Object Platform::Object IInspectable SmartCardCryptogramGenerator
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced in v2.0)

Remarks

Version history

Windows version SDK version Value added
1703 15063 GetAllCryptogramMaterialCharacteristicsAsync
1703 15063 GetAllCryptogramMaterialPackageCharacteristicsAsync
1703 15063 GetAllCryptogramMaterialPackageCharacteristicsAsync(String)
1703 15063 GetAllCryptogramStorageKeyCharacteristicsAsync
1703 15063 ValidateRequestApduAsync
1709 16299 IsSupported

Properties

SupportedCryptogramAlgorithms

Get the supported cryptogram algorithms.

SupportedCryptogramMaterialPackageConfirmationResponseFormats

Gets the supported cryptogram material package confirmation response formats.

SupportedCryptogramMaterialPackageFormats

Gets the supported cryptogram material package formats.

SupportedCryptogramMaterialTypes

Gets the supported cryptogram material types.

SupportedSmartCardCryptogramStorageKeyCapabilities

Gets the supported smart card cryptogram storage key capabilities.

Methods

CreateCryptogramMaterialStorageKeyAsync(SmartCardUnlockPromptingBehavior, String, SmartCardCryptogramStorageKeyAlgorithm, SmartCardCryptogramStorageKeyCapabilities)

Generates a cryptogram storage key.

DeleteCryptogramMaterialPackageAsync(String)

Deletes a cryptogram material package.

DeleteCryptogramMaterialStorageKeyAsync(String)

Deletes the app's storage key and all of its stored packages.

GetAllCryptogramMaterialCharacteristicsAsync(SmartCardUnlockPromptingBehavior, String)

Gets all the cryptogram material characteristics.

GetAllCryptogramMaterialPackageCharacteristicsAsync()

Gets all cryptogram material package characteristics.

GetAllCryptogramMaterialPackageCharacteristicsAsync(String)

Gets all the cryptogram material package characteristics.

GetAllCryptogramStorageKeyCharacteristicsAsync()

Gets all storage key characteristics.

GetSmartCardCryptogramGeneratorAsync()

Gets the smart card cryptogram generator.

ImportCryptogramMaterialPackageAsync(SmartCardCryptogramMaterialPackageFormat, String, String, IBuffer)

Imports a cryptogram package.

IsSupported()

Returns whether the SmartCardCryptogramGenerator is supported.

RequestCryptogramMaterialStorageKeyInfoAsync(SmartCardUnlockPromptingBehavior, String, CryptographicPublicKeyBlobType)

Returns the public key and attestation information related to the cryptogram storage key.

RequestUnlockCryptogramMaterialForUseAsync(SmartCardUnlockPromptingBehavior)

Requests that previously imported cryptogram material packages be readied for use.

TryProvePossessionOfCryptogramMaterialPackageAsync(SmartCardUnlockPromptingBehavior, SmartCardCryptogramMaterialPackageConfirmationResponseFormat, String, String, IBuffer)

This method allows the payment app to query the cryptogram generator for proof of material package possession.

ValidateRequestApduAsync(SmartCardUnlockPromptingBehavior, IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

Validates the APDU request.

Applies to

See also