SecPkgContext_KeyInfo
This structure contains data about the keys used in a security context. It does not return the actual key values, merely data about them. The QueryContextAttributes function uses this structure.
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 for future use. - KeySize
Specifies the size, in bits, of the key used for encrypting messages. Reserved for future use. - SignatureAlgorithm
Specifies the CryptoAPI algorithm identifier (ALG_ID, documented in the Platform SDK) in use for the signature, if available. - EncryptAlgorithm
Specifies the CryptoAPI algorithm identifier (ALG_ID) in use for encrypting messages. Reserved for future use.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.10 and later | Sspi.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.