Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
This topic is not current. For the most current information about the Smart Card API, see Smart Card Minidriver Specification.
The CARD_RSA_DECRYPT_INFO structure specifies the data to be decrypted by the CardRSADecrypt function as well as the private key used to perform the decryption.
Syntax
typedef struct _CARD_RSA_DECRYPT_INFO {
DWORD dwVersion;
BYTE bContainerIndex;
DWORD dwKeySpec;
PBYTE pbData;
DWORD cbData;
} CARD_RSA_DECRYPT_INFO, *PCARD_RSA_DECRYPT_INFO;
Members
-
dwVersion
-
The version number of the structure.
-
bContainerIndex
-
The key container index number. The container holds the keys that perform the decryption.
-
dwKeySpec
-
The purpose of the keys in the new container. This member can be one of the following values.
Value Meaning - AT_KEYEXCHANGE
- 1
The keys are used to encrypt and decrypt session keys. - AT_SIGNATURE
- 2
The keys are used to create and verify digital signatures. -
pbData
-
A pointer to an array of decrypted data values. On input, the array specifies the data to be decrypted. On output, the array specifies the decrypted data.
-
cbData
-
The length, in bytes, of the decrypted data pointed to by the pbData member. This value must always be the same as the key modulus.
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|