Share via


SecPkgContext_MasterKeyInfo

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile 6 and later

See Also

Reference

QueryContextAttributes