Поделиться через


SecPkgCred_CipherStrengths structure

The SecPkgCred_CipherStrengths structure holds the minimum and maximum strength permitted for the cipher used by the specified Schannel credential. This structure is used by the QueryCredentialsAttributes function.

Syntax

typedef struct _SecPkgCred_CipherStrengths {
  DWORD dwMinimumCipherStrength;
  DWORD dwMaximumCipherStrength;
} SecPkgCred_CipherStrengths, *PSecPkgCred_CipherStrengths;

Members

  • dwMinimumCipherStrength
    Minimum cipher strength allowed.

  • dwMaximumCipherStrength
    Maximum cipher strength allowed.

Remarks

For information about setting the cipher strength, see AcquireCredentialsHandle.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Schannel.h (include Schnlsp.h)