Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library

Header File
wintrust.h
Unicode
No
Platform Notes
None

WIN_CERTIFICATE

[New - Windows NT]

The WIN_CERTIFICATE structure contains the type and data for a WinTrust certificate. You can use this generic data structure to store certificates for a variety of WinTrust verification operations. A certificate typically contains encrypted information that can be used to identify and verify the authenticity of a subject, such as a software publisher or an executable file.

typedef struct _WIN_CERTIFICATE {

DWORD dwLength;

WORD wRevision;

WORD wCertificateType;

BYTE bCertificate[ANYSIZE_ARRAY];

} WIN_CERTIFICATE, *LPWIN_CERTIFICATE;

Members

dwLength

Specifies the size, in bytes, of the WIN_CERTIFICATE structure, including the data in the bCertificate array.

wRevision

Indicates the revision level of the structure. Currently, this value must be WIN_TRUST_REVISION_1_0.

wCertificateType

Specifies the type of certificate. This member can be one of the following values.

Value
Meaning
WIN_CERT_TYPE_X509
The certificate contains an X.509 Certificate.
WIN_CERT_TYPE_PKCS_SIGNED_DATA
The certificate contains a PKCS SignedData structure.
WIN_CERT_TYPE_RESERVED_1
Reserved.

bCertificate

A variable-sized array of bytes that contains the certificate data.

See Also

WinSubmitCertificate
, WinTrustProviderSubmitCertificate, WinTrustSubjectCheckContentInfo, WinTrustSubjectGetCertHeader, WinTrustSubjectGetCertificate, WinTrustSubjectGetName

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples