Share via


SecPkgContext_KeyInfo (Windows Embedded CE 6.0)

1/6/2010

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 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

Header sspi.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Authentication Services Structures
QueryContextAttributes