Compartir a través de


SecPkgContext_KeyInfo (Windows CE 5.0)

Send Feedback

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.

typedef struct _SecPkgContext_KeyInfo {SEC_CHARSEC_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
    Size, in bits, of the key used for encrypting messages. Reserved for future use.
  • 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 for future use.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Sspi.h.

See Also

QueryContextAttributes

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.