共用方式為


SecPkgContext_Sizes

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure indicates the sizes of important structures used in the message support functions. The QueryContextAttributes function uses this structure.

Syntax

typedef struct _SecPkgContext_Sizes {
  ULONG cbMaxToken;
  ULONG cbMaxSignature;
  ULONG cbBlockSize;
  ULONG cbSecurityTrailer;
} SecPkgContext_Sizes, SEC_FAR *PSecPkgContext_Sizes;

Members

  • cbMaxToken
    Maximum size of the security token used in the authentication exchanges*.*
  • cbMaxSignature
    Maximum size of the signature created by the MakeSignature function. This member should be zero if integrity services are not requested or available.
  • cbBlockSize
    Preferred integral size of the messages. For example, 8 indicates that messages should be of size 0 mod 8 for optimal performance. Messages other than this block size can be padded.
  • cbSecurityTrailer
    Size of the security trailer to be appended to messages. This member should be zero if the relevant services are not requested or available.

Requirements

Header sspi.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

MakeSignature
QueryContextAttributes