Share via


estructura CMSG_CMS_SIGNER_INFO (wincrypt.h)

La estructura de CMSG_CMS_SIGNER_INFO contiene el contenido de signerInfo definido en mensajes firmados o firmados y sobres. Al descodificar un mensaje recibido, se llama a CryptMsgGetParam para que cada firmante obtenga una estructura de CMSG_CMS_SIGNER_INFO .

Sintaxis

typedef struct _CMSG_CMS_SIGNER_INFO {
  DWORD                      dwVersion;
  CERT_ID                    SignerId;
  CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
  CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm;
  CRYPT_DATA_BLOB            EncryptedHash;
  CRYPT_ATTRIBUTES           AuthAttrs;
  CRYPT_ATTRIBUTES           UnauthAttrs;
} CMSG_CMS_SIGNER_INFO, *PCMSG_CMS_SIGNER_INFO;

Miembros

dwVersion

Versión de esta estructura.

SignerId

Estructura CERT_ID que identifica el certificado del firmante.

HashAlgorithm

Estructura CRYPT_ALGORITHM_IDENTIFIER que especifica el algoritmo utilizado para generar el hash de un mensaje.

HashEncryptionAlgorithm

Estructura CRYPT_ALGORITHM_IDENTIFIER que especifica el algoritmo utilizado para cifrar el hash.

EncryptedHash

Estructura CRYPT_DATA_BLOB que contiene el hash cifrado del mensaje, la firma.

AuthAttrs

Estructura CRYPT_ATTRIBUTES que contiene atributos autenticados del firmante.

UnauthAttrs

Estructura CRYPT_ATTRIBUTES que contiene atributos no autenticados del firmante.

Requisitos

Requisito Value
Cliente mínimo compatible Windows XP [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2003 [solo aplicaciones de escritorio]
Encabezado wincrypt.h

Consulte también

CRYPT_ALGORITHM_IDENTIFIER

CRYPT_ATTRIBUTES

CRYPT_INTEGER_BLOB