estructura SecPkgContext_CipherInfo (schannel.h)

Estructura de información de cifrado. Esto lo devuelve SECPKG_ATTR_CIPHER_INFO ulAttribute de la función QueryContextAttributes (Schannel).

Sintaxis

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;

Miembros

dwVersion

La versión dw.

dwProtocol

Protocolo dw.

dwCipherSuite

Conjunto de cifrado dw.

dwBaseCipherSuite

Conjunto de cifrado base dw.

szCipherSuite[SZ_ALG_MAX_SIZE]

Conjunto de cifrado sz.

szCipher[SZ_ALG_MAX_SIZE]

Cifrado sz.

dwCipherLen

Longitud del cifrado dw.

dwCipherBlockLen

Longitud del bloque de cifrado dw en bytes.

szHash[SZ_ALG_MAX_SIZE]

Hash sz.

dwHashLen

Longitud del hash dw.

szExchange[SZ_ALG_MAX_SIZE]

El sz exchange.

dwMinExchangeLen

Longitud de intercambio mínima de dw.

dwMaxExchangeLen

Longitud máxima de intercambio dw.

szCertificate[SZ_ALG_MAX_SIZE]

El certificado sz.

dwKeyType

Tipo de clave dw.

Requisitos

Requisito Value
Cliente mínimo compatible Windows Vista [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2008 [solo aplicaciones de escritorio]
Encabezado schannel.h