WIN_CERTIFICATE
This structure encapsulates a signature used in verifying executable files.
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. Currently, the only defined certificate revision is WIN_CERT_REVISION_1_0 (0x0100). - wCertificateType
Specifies the type of certificate. The following table shows the possible values 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
Creating a Signature | Verifying a Signature
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.