Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, Windows 2000 Professional with SP4 |
| Minimum supported server | Windows Server 2003, Windows 2000 Server with SP4 |
| Header | Cardmod.h |
See Also
Microsoft Base Smart Card Cryptographic Service Provider
Send comments about this topic to Microsoft
Build date: 3/5/2009