SecPkgContext_KeyInfo (Compact 2013)
3/28/2014
This structure contains data about the keys used in a security context. It does not return the actual key values, only data about them. The QueryContextAttributes function uses this structure.
Syntax
typedef struct _SecPkgContext_KeyInfo {
SEC_CHAR SEC_FAR* sSignatureAlgorithmName;
SEC_CHAR SEC_FAR* sEncryptAlgorithmName;
ULONG KeySize;
ULONG SignatureAlgorithm;
ULONG EncryptAlgorithm;
} SecPkgContext_KeyInfo, SEC_FAR *PSecPkgContext_KeyInfo;
Members
- sSignatureAlgorithmName
Pointer to a null-terminated string that contains the name, if available, of the algorithm used for generating signatures, such as MD5, SHA-2, and so on.
- sEncryptAlgorithmName
Pointer to a null-terminated string that contains the name, if available, of the algorithm used for encrypting messages. Reserved.
- KeySize
Reserved.
- SignatureAlgorithm
CryptoAPI algorithm identifier (ALG_ID) in use for the signature, if available.
- EncryptAlgorithm
CryptoAPI algorithm identifier (ALG_ID) in use for encrypting messages. Reserved.
Requirements
Header |
sspi.h |