Compartir a través de


WIN_CERTIFICATE (Compact 2013)

3/28/2014

This structure encapsulates a signature used in verifying executable files.

Syntax

typedef struct WIN_CERTIFICATE {
  DWORD dwLength;
  WORD wRevision;
  WORD wCertificateType;
  BYTE bCertificate[];
} WIN_CERTIFICATE, *LPWIN_CERTIFICATE;

Members

  • dwLength
    Specifies the length, in bytes, of the signature.
  • wRevision
    Specifies the certificate revision.

    The only defined certificate revision is WIN_CERT_REVISION_1_0 (0x0100).

  • wCertificateType
    Specifies the type of certificate.

    The following values are possible for this member.

    Value

    Description

    WIN_CERT_TYPE_X509 (0x0001)

    The bCertificate member contains an X.509 certificate.

    WIN_CERT_TYPE_PKCS_SIGNED_DATA (0x0002)

    The bCertificate member contains a PKCS SignedData structure.

    WIN_CERT_TYPE_RESERVED_1 (0x0003)

    Reserved.

    WIN_CERT_TYPE_PKCS1_SIGN (0x0009)

    The bCertificate member contains PKCS1_MODULE_SIGN fields.

  • bCertificate
    An array of certificates.

    The format of this member depends on the value of wCertificateType.

Requirements

Header

loadauth.h

See Also

Reference

Kernel Structures

Other Resources

OAL Structures