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


CERT_REQUEST_INFO (Compact 2013)

3/28/2014

This structure contains information for a certificate request. The subject, subject public key, and attribute BLOB (Cryptography) structures are encoded.

Syntax

typedef struct _CERT_REQUEST_INFO {
  DWORD dwVersion;
  CERT_NAME_BLOB Subject;
  CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo;
  DWORD cAttribute;
  PCRYPT_ATTRIBUTE rgAttribute;
} CERT_REQUEST_INFO, *PCERT_REQUEST_INFO;

Members

  • dwVersion
    Certificate's version number. The following table shows the defined version number.

    Certificate version

    Description

    CERT_V1

    version 1

  • Subject
    BLOB structure containing the certificate subject's encoded name.
  • SubjectPublicKeyInfo
    CERT_PUBLIC_KEY_INFO structure containing the encoded public key and its algorithm.
  • cAttribute
    Number of elements in the rgAttribute array.
  • rgAttribute
    Pointer to an array of structures of type to CRYPT_ATTRIBUTE.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures
CryptSignAndEncodeCertificate
BLOB (Cryptography)
CERT_PUBLIC_KEY_INFO
CRYPT_ATTRIBUTE