WIN_CERTIFICATE (Windows CE 5.0)

Send Feedback

This structure encapsulates a signature used in verifying executable files.

typedef struct WIN_CERTIFICATE { DWORD dwLength;  WORD wRevision; WORD wCertificateType;BYTEbCertificate[];} 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

OS Versions: Windows CE 3.0 and later.
Header: Loadauth.h.

See Also

Signature Creation | Verifying a Signature

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.