Partager via


SecPkgContext_MasterKeyInfo (Windows Embedded CE 6.0)

1/6/2010

This structure holds information about the raw master key and client/server random numbers negotiated during the TLS session. This structure is used by the Schanel security package QueryContextAttributes function.

Syntax

typedef struct _SecPkgContext_MasterKeyInfo {
    DWORD dwVersion;
    DWORD cbMasterKey;
    BYTE  rgbMasterKey[512];
    DWORD cbClientRandom;
    BYTE  rgbClientRandom[512];
    DWORD cbServerRandom;
    BYTE  rgbServerRandom[512];
}SecPkgContext_MasterKeyInfo, *PSecPkgContext_MasterKeyInfo;

Members

dwVersion = 0 (other values result in failure)

cbMasterKey if API succeeds will return valid number of bytes in rgbMasterKey

cbClientRandom if API succeeds will return valid number of bytes in rgbClientRandom

cbServerRandom if API succeeds will return valid number of bytes in rgbServerRandom

Requirements

Header schnlsp.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Authentication Services Structures
QueryContextAttributes