WIN_CERTIFICATE (Windows Embedded CE 6.0)

1/5/2010

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)

    bCertificate contains an X.509 certificate.

    WIN_CERT_TYPE_PKCS_SIGNED_DATA (0x0002)

    bCertificate contains a PKCS SignedData structure.

    WIN_CERT_TYPE_RESERVED_1 (0x0003)

    Reserved.

    WIN_CERT_TYPE_PKCS1_SIGN (0x0009)

    bCertificate 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
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

OAL Structures

Other Resources

Signature Creation