Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SecPkgContext_CipherInfo structure (schannel.h)

Cipher info structure. This is returned by SECPKG_ATTR_CIPHER_INFO ulAttribute from the QueryContextAttributes (Schannel) function.

Syntax

typedef struct _SecPkgContext_CipherInfo {
 DWORD dwVersion;
 DWORD dwProtocol;
 DWORD dwCipherSuite;
 DWORD dwBaseCipherSuite;
 WCHAR szCipherSuite[SZ_ALG_MAX_SIZE];
 WCHAR szCipher[SZ_ALG_MAX_SIZE];
 DWORD dwCipherLen;
 DWORD dwCipherBlockLen;
 WCHAR szHash[SZ_ALG_MAX_SIZE];
 DWORD dwHashLen;
 WCHAR szExchange[SZ_ALG_MAX_SIZE];
 DWORD dwMinExchangeLen;
 DWORD dwMaxExchangeLen;
 WCHAR szCertificate[SZ_ALG_MAX_SIZE];
 DWORD dwKeyType;
} SecPkgContext_CipherInfo, *PSecPkgContext_CipherInfo;

Members

dwVersion

The dw version.

dwProtocol

The dw protocol.

dwCipherSuite

The dw cipher suite.

dwBaseCipherSuite

The dw base cipher suite.

szCipherSuite[SZ_ALG_MAX_SIZE]

The sz cipher suite.

szCipher[SZ_ALG_MAX_SIZE]

The sz cipher.

dwCipherLen

The dw cipher length.

dwCipherBlockLen

The dw cipher block length in bytes.

szHash[SZ_ALG_MAX_SIZE]

The sz hash.

dwHashLen

The dw hash length.

szExchange[SZ_ALG_MAX_SIZE]

The sz exchange.

dwMinExchangeLen

The dw min exchange length.

dwMaxExchangeLen

The dw max exchange length.

szCertificate[SZ_ALG_MAX_SIZE]

The sz certificate.

dwKeyType

The dw key type.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header schannel.h

Feedback

Was this page helpful?

Additional resources