ReactOS  0.4.14-dev-845-g8381e29
cryptdlg.h File Reference
#include <prsht.h>
Include dependency graph for cryptdlg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tagCSSA
 
struct  tagCSSW
 
struct  tagCERT_VIEWPROPERTIES_STRUCT_A
 
struct  tagCERT_VIEWPROPERTIES_STRUCT_W
 
struct  tagCMOID
 
struct  tagCMFLTR
 
struct  _CERT_VERIFY_CERTIFICATE_TRUST
 
struct  _CTL_MODIFY_REQUEST
 

Macros

#define CRYPTDLG_FLAGS_MASK   0xff000000
 
#define CRYPTDLG_REVOCATION_DEFAULT   0x00000000
 
#define CRYPTDLG_REVOCATION_ONLINE   0x80000000
 
#define CRYPTDLG_REVOCATION_CACHE   0x40000000
 
#define CRYPTDLG_REVOCATION_NONE   0x20000000
 
#define CRYPTDLG_POLICY_MASK   0x0000ffff
 
#define POLICY_IGNORE_NON_CRITICAL_BC   0x00000001
 
#define CRYPTDLG_ACTION_MASK   0xffff0000
 
#define ACTION_REVOCATION_DEFAULT_ONLINE   0x00010000
 
#define ACTION_REVOCATION_DEFAULT_CACHE   0x00020000
 
#define CERT_DISPWELL_SELECT   1
 
#define CERT_DISPWELL_TRUST_CA_CERT   2
 
#define CERT_DISPWELL_TRUST_LEAF_CERT   3
 
#define CERT_DISPWELL_TRUST_ADD_CA_CERT   4
 
#define CERT_DISPWELL_TRUST_ADD_LEAF_CERT   5
 
#define CERT_DISPWELL_DISTRUST_CA_CERT   6
 
#define CERT_DISPWELL_DISTRUST_LEAF_CERT   7
 
#define CERT_DISPWELL_DISTRUST_ADD_CA_CERT   8
 
#define CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT   9
 
#define CSS_SELECTCERT_MASK   0x00ffffff
 
#define CSS_HIDE_PROPERTIES   0x00000001
 
#define CSS_ENABLEHOOK   0x00000002
 
#define CSS_ALLOWMULTISELECT   0x00000004
 
#define CSS_SHOW_HELP   0x00000010
 
#define CSS_ENABLETEMPLATE   0x00000020
 
#define CSS_ENABLETEMPLATEHANDLE   0x00000040
 
#define SELCERT_OK   IDOK
 
#define SELCERT_CANCEL   IDCANCEL
 
#define SELCERT_PROPERTIES   100
 
#define SELCERT_FINEPRINT   101
 
#define SELCERT_CERTLIST   102
 
#define SELCERT_HELP   IDHELP
 
#define SELCERT_ISSUED_TO   103
 
#define SELCERT_VALIDITY   104
 
#define SELCERT_ALGORITHM   105
 
#define SELCERT_SERIAL_NUM   106
 
#define SELCERT_THUMBPRINT   107
 
#define CERT_SELECT_STRUCT   WINELIB_NAME_AW(CERT_SELECT_STRUCT_)
 
#define CertSelectCertificate   WINELIB_NAME_AW(CertSelectCertificate)
 
#define CM_VIEWFLAGS_MASK   0x00ffffff
 
#define CM_ENABLEHOOK   0x00000001
 
#define CM_SHOW_HELP   0x00000002
 
#define CM_SHOW_HELPICON   0x00000004
 
#define CM_ENABLETEMPLATE   0x00000008
 
#define CM_HIDE_ADVANCEPAGE   0x00000010
 
#define CM_HIDE_TRUSTPAGE   0x00000020
 
#define CM_NO_NAMECHANGE   0x00000040
 
#define CM_NO_EDITTRUST   0x00000080
 
#define CM_HIDE_DETAILPAGE   0x00000100
 
#define CM_ADD_CERT_STORES   0x00000200
 
#define CERTVIEW_CRYPTUI_LPARAM   0x00800000
 
#define CERT_VIEWPROPERTIES_STRUCT   WINELIB_NAME_AW(CERT_VIEWPROPERTIES_STRUCT_)
 
#define PCERT_VIEWPROPERTIES_STRUCT   WINELIB_NAME_AW(PCERT_VIEWPROPERTIES_STRUCT_)
 
#define CertViewProperties   WINELIB_NAME_AW(CertViewProperties)
 
#define CERT_FILTER_OP_EXISTS   1
 
#define CERT_FILTER_OP_NOT_EXISTS   2
 
#define CERT_FILTER_OP_EQUALITY   3
 
#define CERT_FILTER_INCLUDE_V1_CERTS   0x0001
 
#define CERT_FILTER_VALID_TIME_RANGE   0x0002
 
#define CERT_FILTER_VALID_SIGNATURE   0x0004
 
#define CERT_FILTER_LEAF_CERTS_ONLY   0x0008
 
#define CERT_FILTER_ISSUER_CERTS_ONLY   0x0010
 
#define CERT_FILTER_KEY_EXISTS   0x0020
 
#define GetFriendlyNameOfCert   WINELIB_NAME_AW(GetFriendlyNameOfCert)
 
#define CERT_CERTIFICATE_ACTION_VERIFY   { 0x7801ebd0, 0xcf4b, 0x11d0, { 0x85,0x1f,0x00,0x60,0x97,0x93,0x87,0xea }}
 
#define szCERT_CERTIFICATE_ACTION_VERIFY   "{7801ebd0-cf4b-11d0-851f-0060979387ea}"
 
#define CERT_VALIDITY_MASK_VALIDITY   0x0000ffff
 
#define CERT_VALIDITY_BEFORE_START   0x00000001
 
#define CERT_VALIDITY_AFTER_END   0x00000002
 
#define CERT_VALIDITY_SIGNATURE_FAILS   0x00000004
 
#define CERT_VALIDITY_CERTIFICATE_REVOKED   0x00000008
 
#define CERT_VALIDITY_KEY_USAGE_EXT_FAILURE   0x00000010
 
#define CERT_VALIDITY_EXTENDED_USAGE_FAILURE   0x00000020
 
#define CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE   0x00000040
 
#define CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION   0x00000080
 
#define CERT_VALIDITY_ISSUER_INVALID   0x00000100
 
#define CERT_VALIDITY_OTHER_EXTENSION_FAILURE   0x00000200
 
#define CERT_VALIDITY_PERIOD_NESTING_FAILURE   0x00000400
 
#define CERT_VALIDITY_OTHER_ERROR   0x00000800
 
#define CERT_VALIDITY_MASK_TRUST   0xffff0000
 
#define CERT_VALIDITY_EXPLICITLY_DISTRUSTED   0x01000000
 
#define CERT_VALIDITY_ISSUER_DISTRUST   0x02000000
 
#define CERT_VALIDITY_NO_ISSUER_CERT_FOUND   0x10000000
 
#define CERT_VALIDITY_NO_CRL_FOUND   0x20000000
 
#define CERT_VALIDITY_CRL_OUT_OF_DATE   0x40000000
 
#define CERT_VALIDITY_NO_TRUST_DATA   0x80000000
 
#define CERT_TRUST_MASK   0x00ffffff
 
#define CERT_TRUST_DO_FULL_SEARCH   0x00000001
 
#define CERT_TRUST_PERMIT_MISSING_CRLS   0x00000002
 
#define CERT_TRUST_DO_FULL_TRUST   0x00000005
 
#define CERT_TRUST_ADD_CERT_STORES   CM_ADD_CERT_STORES
 
#define CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED   1
 
#define CTL_MODIFY_REQUEST_REMOVE   2
 
#define CTL_MODIFY_REQUEST_ADD_TRUSTED   3
 

Typedefs

typedef BOOL(WINAPIPFNCMFILTERPROC) (PCCERT_CONTEXT, DWORD, DWORD, DWORD)
 
typedef UINT(WINAPIPFNCMHOOKPROC) (HWND, UINT, WPARAM, LPARAM)
 
typedef struct tagCSSA CERT_SELECT_STRUCT_A
 
typedef struct tagCSSAPCERT_SELECT_STRUCT_A
 
typedef struct tagCSSW CERT_SELECT_STRUCT_W
 
typedef struct tagCSSWPCERT_SELECT_STRUCT_W
 
typedef struct tagCERT_VIEWPROPERTIES_STRUCT_A CERT_VIEWPROPERTIES_STRUCT_A
 
typedef struct tagCERT_VIEWPROPERTIES_STRUCT_APCERT_VIEWPROPERTIES_STRUCT_A
 
typedef struct tagCERT_VIEWPROPERTIES_STRUCT_W CERT_VIEWPROPERTIES_STRUCT_W
 
typedef struct tagCERT_VIEWPROPERTIES_STRUCT_WPCERT_VIEWPROPERTIES_STRUCT_W
 
typedef struct tagCMOID CERT_FILTER_EXTENSION_MATCH
 
typedef struct tagCMFLTR CERT_FILTER_DATA
 
typedef HRESULT(WINAPIPFNTRUSTHELPER) (PCCERT_CONTEXT, DWORD, BOOL, LPBYTE)
 
typedef struct _CERT_VERIFY_CERTIFICATE_TRUST CERT_VERIFY_CERTIFICATE_TRUST
 
typedef struct _CERT_VERIFY_CERTIFICATE_TRUSTPCERT_VERIFY_CERTIFICATE_TRUST
 
typedef struct _CTL_MODIFY_REQUEST CTL_MODIFY_REQUEST
 
typedef struct _CTL_MODIFY_REQUESTPCTL_MODIFY_REQUEST
 

Functions

BOOL WINAPI CertSelectCertificateA (PCERT_SELECT_STRUCT_A pCertSelectInfo)
 
BOOL WINAPI CertSelectCertificateW (PCERT_SELECT_STRUCT_W pCertSelectInfo)
 
BOOL WINAPI CertViewPropertiesA (PCERT_VIEWPROPERTIES_STRUCT_A pCertViewInfo)
 
BOOL WINAPI CertViewPropertiesW (PCERT_VIEWPROPERTIES_STRUCT_W pCertViewInfo)
 
DWORD WINAPI GetFriendlyNameOfCertA (PCCERT_CONTEXT pccert, LPSTR pchBuffer, DWORD cchBuffer)
 
DWORD WINAPI GetFriendlyNameOfCertW (PCCERT_CONTEXT pccert, LPWSTR pchBuffer, DWORD cchBuffer)
 
HRESULT WINAPI CertModifyCertificatesToTrust (int cCertStore, PCTL_MODIFY_REQUEST rgCerts, LPCSTR szPurpose, HWND hwnd, HCERTSTORE hcertstoreTrust)
 

Macro Definition Documentation

◆ ACTION_REVOCATION_DEFAULT_CACHE

#define ACTION_REVOCATION_DEFAULT_CACHE   0x00020000

Definition at line 38 of file cryptdlg.h.

◆ ACTION_REVOCATION_DEFAULT_ONLINE

#define ACTION_REVOCATION_DEFAULT_ONLINE   0x00010000

Definition at line 37 of file cryptdlg.h.

◆ CERT_CERTIFICATE_ACTION_VERIFY

#define CERT_CERTIFICATE_ACTION_VERIFY   { 0x7801ebd0, 0xcf4b, 0x11d0, { 0x85,0x1f,0x00,0x60,0x97,0x93,0x87,0xea }}

Definition at line 236 of file cryptdlg.h.

◆ CERT_DISPWELL_DISTRUST_ADD_CA_CERT

#define CERT_DISPWELL_DISTRUST_ADD_CA_CERT   8

Definition at line 49 of file cryptdlg.h.

◆ CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT

#define CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT   9

Definition at line 50 of file cryptdlg.h.

◆ CERT_DISPWELL_DISTRUST_CA_CERT

#define CERT_DISPWELL_DISTRUST_CA_CERT   6

Definition at line 47 of file cryptdlg.h.

◆ CERT_DISPWELL_DISTRUST_LEAF_CERT

#define CERT_DISPWELL_DISTRUST_LEAF_CERT   7

Definition at line 48 of file cryptdlg.h.

◆ CERT_DISPWELL_SELECT

#define CERT_DISPWELL_SELECT   1

Definition at line 42 of file cryptdlg.h.

◆ CERT_DISPWELL_TRUST_ADD_CA_CERT

#define CERT_DISPWELL_TRUST_ADD_CA_CERT   4

Definition at line 45 of file cryptdlg.h.

◆ CERT_DISPWELL_TRUST_ADD_LEAF_CERT

#define CERT_DISPWELL_TRUST_ADD_LEAF_CERT   5

Definition at line 46 of file cryptdlg.h.

◆ CERT_DISPWELL_TRUST_CA_CERT

#define CERT_DISPWELL_TRUST_CA_CERT   2

Definition at line 43 of file cryptdlg.h.

◆ CERT_DISPWELL_TRUST_LEAF_CERT

#define CERT_DISPWELL_TRUST_LEAF_CERT   3

Definition at line 44 of file cryptdlg.h.

◆ CERT_FILTER_INCLUDE_V1_CERTS

#define CERT_FILTER_INCLUDE_V1_CERTS   0x0001

Definition at line 215 of file cryptdlg.h.

◆ CERT_FILTER_ISSUER_CERTS_ONLY

#define CERT_FILTER_ISSUER_CERTS_ONLY   0x0010

Definition at line 219 of file cryptdlg.h.

◆ CERT_FILTER_KEY_EXISTS

#define CERT_FILTER_KEY_EXISTS   0x0020

Definition at line 220 of file cryptdlg.h.

◆ CERT_FILTER_LEAF_CERTS_ONLY

#define CERT_FILTER_LEAF_CERTS_ONLY   0x0008

Definition at line 218 of file cryptdlg.h.

◆ CERT_FILTER_OP_EQUALITY

#define CERT_FILTER_OP_EQUALITY   3

Definition at line 205 of file cryptdlg.h.

◆ CERT_FILTER_OP_EXISTS

#define CERT_FILTER_OP_EXISTS   1

Definition at line 203 of file cryptdlg.h.

◆ CERT_FILTER_OP_NOT_EXISTS

#define CERT_FILTER_OP_NOT_EXISTS   2

Definition at line 204 of file cryptdlg.h.

◆ CERT_FILTER_VALID_SIGNATURE

#define CERT_FILTER_VALID_SIGNATURE   0x0004

Definition at line 217 of file cryptdlg.h.

◆ CERT_FILTER_VALID_TIME_RANGE

#define CERT_FILTER_VALID_TIME_RANGE   0x0002

Definition at line 216 of file cryptdlg.h.

◆ CERT_SELECT_STRUCT

#define CERT_SELECT_STRUCT   WINELIB_NAME_AW(CERT_SELECT_STRUCT_)

Definition at line 116 of file cryptdlg.h.

◆ CERT_TRUST_ADD_CERT_STORES

#define CERT_TRUST_ADD_CERT_STORES   CM_ADD_CERT_STORES

Definition at line 269 of file cryptdlg.h.

◆ CERT_TRUST_DO_FULL_SEARCH

#define CERT_TRUST_DO_FULL_SEARCH   0x00000001

Definition at line 266 of file cryptdlg.h.

◆ CERT_TRUST_DO_FULL_TRUST

#define CERT_TRUST_DO_FULL_TRUST   0x00000005

Definition at line 268 of file cryptdlg.h.

◆ CERT_TRUST_MASK

#define CERT_TRUST_MASK   0x00ffffff

Definition at line 265 of file cryptdlg.h.

◆ CERT_TRUST_PERMIT_MISSING_CRLS

#define CERT_TRUST_PERMIT_MISSING_CRLS   0x00000002

Definition at line 267 of file cryptdlg.h.

◆ CERT_VALIDITY_AFTER_END

#define CERT_VALIDITY_AFTER_END   0x00000002

Definition at line 245 of file cryptdlg.h.

◆ CERT_VALIDITY_BEFORE_START

#define CERT_VALIDITY_BEFORE_START   0x00000001

Definition at line 244 of file cryptdlg.h.

◆ CERT_VALIDITY_CERTIFICATE_REVOKED

#define CERT_VALIDITY_CERTIFICATE_REVOKED   0x00000008

Definition at line 247 of file cryptdlg.h.

◆ CERT_VALIDITY_CRL_OUT_OF_DATE

#define CERT_VALIDITY_CRL_OUT_OF_DATE   0x40000000

Definition at line 262 of file cryptdlg.h.

◆ CERT_VALIDITY_EXPLICITLY_DISTRUSTED

#define CERT_VALIDITY_EXPLICITLY_DISTRUSTED   0x01000000

Definition at line 258 of file cryptdlg.h.

◆ CERT_VALIDITY_EXTENDED_USAGE_FAILURE

#define CERT_VALIDITY_EXTENDED_USAGE_FAILURE   0x00000020

Definition at line 249 of file cryptdlg.h.

◆ CERT_VALIDITY_ISSUER_DISTRUST

#define CERT_VALIDITY_ISSUER_DISTRUST   0x02000000

Definition at line 259 of file cryptdlg.h.

◆ CERT_VALIDITY_ISSUER_INVALID

#define CERT_VALIDITY_ISSUER_INVALID   0x00000100

Definition at line 252 of file cryptdlg.h.

◆ CERT_VALIDITY_KEY_USAGE_EXT_FAILURE

#define CERT_VALIDITY_KEY_USAGE_EXT_FAILURE   0x00000010

Definition at line 248 of file cryptdlg.h.

◆ CERT_VALIDITY_MASK_TRUST

#define CERT_VALIDITY_MASK_TRUST   0xffff0000

Definition at line 257 of file cryptdlg.h.

◆ CERT_VALIDITY_MASK_VALIDITY

#define CERT_VALIDITY_MASK_VALIDITY   0x0000ffff

Definition at line 243 of file cryptdlg.h.

◆ CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE

#define CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE   0x00000040

Definition at line 250 of file cryptdlg.h.

◆ CERT_VALIDITY_NO_CRL_FOUND

#define CERT_VALIDITY_NO_CRL_FOUND   0x20000000

Definition at line 261 of file cryptdlg.h.

◆ CERT_VALIDITY_NO_ISSUER_CERT_FOUND

#define CERT_VALIDITY_NO_ISSUER_CERT_FOUND   0x10000000

Definition at line 260 of file cryptdlg.h.

◆ CERT_VALIDITY_NO_TRUST_DATA

#define CERT_VALIDITY_NO_TRUST_DATA   0x80000000

Definition at line 263 of file cryptdlg.h.

◆ CERT_VALIDITY_OTHER_ERROR

#define CERT_VALIDITY_OTHER_ERROR   0x00000800

Definition at line 255 of file cryptdlg.h.

◆ CERT_VALIDITY_OTHER_EXTENSION_FAILURE

#define CERT_VALIDITY_OTHER_EXTENSION_FAILURE   0x00000200

Definition at line 253 of file cryptdlg.h.

◆ CERT_VALIDITY_PERIOD_NESTING_FAILURE

#define CERT_VALIDITY_PERIOD_NESTING_FAILURE   0x00000400

Definition at line 254 of file cryptdlg.h.

◆ CERT_VALIDITY_SIGNATURE_FAILS

#define CERT_VALIDITY_SIGNATURE_FAILS   0x00000004

Definition at line 246 of file cryptdlg.h.

◆ CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION

#define CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION   0x00000080

Definition at line 251 of file cryptdlg.h.

◆ CERT_VIEWPROPERTIES_STRUCT

#define CERT_VIEWPROPERTIES_STRUCT   WINELIB_NAME_AW(CERT_VIEWPROPERTIES_STRUCT_)

Definition at line 195 of file cryptdlg.h.

◆ CertSelectCertificate

#define CertSelectCertificate   WINELIB_NAME_AW(CertSelectCertificate)

Definition at line 120 of file cryptdlg.h.

◆ CERTVIEW_CRYPTUI_LPARAM

#define CERTVIEW_CRYPTUI_LPARAM   0x00800000

Definition at line 133 of file cryptdlg.h.

◆ CertViewProperties

#define CertViewProperties   WINELIB_NAME_AW(CertViewProperties)

Definition at line 201 of file cryptdlg.h.

◆ CM_ADD_CERT_STORES

#define CM_ADD_CERT_STORES   0x00000200

Definition at line 132 of file cryptdlg.h.

◆ CM_ENABLEHOOK

#define CM_ENABLEHOOK   0x00000001

Definition at line 123 of file cryptdlg.h.

◆ CM_ENABLETEMPLATE

#define CM_ENABLETEMPLATE   0x00000008

Definition at line 126 of file cryptdlg.h.

◆ CM_HIDE_ADVANCEPAGE

#define CM_HIDE_ADVANCEPAGE   0x00000010

Definition at line 127 of file cryptdlg.h.

◆ CM_HIDE_DETAILPAGE

#define CM_HIDE_DETAILPAGE   0x00000100

Definition at line 131 of file cryptdlg.h.

◆ CM_HIDE_TRUSTPAGE

#define CM_HIDE_TRUSTPAGE   0x00000020

Definition at line 128 of file cryptdlg.h.

◆ CM_NO_EDITTRUST

#define CM_NO_EDITTRUST   0x00000080

Definition at line 130 of file cryptdlg.h.

◆ CM_NO_NAMECHANGE

#define CM_NO_NAMECHANGE   0x00000040

Definition at line 129 of file cryptdlg.h.

◆ CM_SHOW_HELP

#define CM_SHOW_HELP   0x00000002

Definition at line 124 of file cryptdlg.h.

◆ CM_SHOW_HELPICON

#define CM_SHOW_HELPICON   0x00000004

Definition at line 125 of file cryptdlg.h.

◆ CM_VIEWFLAGS_MASK

#define CM_VIEWFLAGS_MASK   0x00ffffff

Definition at line 122 of file cryptdlg.h.

◆ CRYPTDLG_ACTION_MASK

#define CRYPTDLG_ACTION_MASK   0xffff0000

Definition at line 36 of file cryptdlg.h.

◆ CRYPTDLG_FLAGS_MASK

#define CRYPTDLG_FLAGS_MASK   0xff000000

Definition at line 27 of file cryptdlg.h.

◆ CRYPTDLG_POLICY_MASK

#define CRYPTDLG_POLICY_MASK   0x0000ffff

Definition at line 33 of file cryptdlg.h.

◆ CRYPTDLG_REVOCATION_CACHE

#define CRYPTDLG_REVOCATION_CACHE   0x40000000

Definition at line 30 of file cryptdlg.h.

◆ CRYPTDLG_REVOCATION_DEFAULT

#define CRYPTDLG_REVOCATION_DEFAULT   0x00000000

Definition at line 28 of file cryptdlg.h.

◆ CRYPTDLG_REVOCATION_NONE

#define CRYPTDLG_REVOCATION_NONE   0x20000000

Definition at line 31 of file cryptdlg.h.

◆ CRYPTDLG_REVOCATION_ONLINE

#define CRYPTDLG_REVOCATION_ONLINE   0x80000000

Definition at line 29 of file cryptdlg.h.

◆ CSS_ALLOWMULTISELECT

#define CSS_ALLOWMULTISELECT   0x00000004

Definition at line 57 of file cryptdlg.h.

◆ CSS_ENABLEHOOK

#define CSS_ENABLEHOOK   0x00000002

Definition at line 56 of file cryptdlg.h.

◆ CSS_ENABLETEMPLATE

#define CSS_ENABLETEMPLATE   0x00000020

Definition at line 59 of file cryptdlg.h.

◆ CSS_ENABLETEMPLATEHANDLE

#define CSS_ENABLETEMPLATEHANDLE   0x00000040

Definition at line 60 of file cryptdlg.h.

◆ CSS_HIDE_PROPERTIES

#define CSS_HIDE_PROPERTIES   0x00000001

Definition at line 55 of file cryptdlg.h.

◆ CSS_SELECTCERT_MASK

#define CSS_SELECTCERT_MASK   0x00ffffff

Definition at line 54 of file cryptdlg.h.

◆ CSS_SHOW_HELP

#define CSS_SHOW_HELP   0x00000010

Definition at line 58 of file cryptdlg.h.

◆ CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED

#define CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED   1

Definition at line 294 of file cryptdlg.h.

◆ CTL_MODIFY_REQUEST_ADD_TRUSTED

#define CTL_MODIFY_REQUEST_ADD_TRUSTED   3

Definition at line 296 of file cryptdlg.h.

◆ CTL_MODIFY_REQUEST_REMOVE

#define CTL_MODIFY_REQUEST_REMOVE   2

Definition at line 295 of file cryptdlg.h.

◆ GetFriendlyNameOfCert

#define GetFriendlyNameOfCert   WINELIB_NAME_AW(GetFriendlyNameOfCert)

Definition at line 234 of file cryptdlg.h.

◆ PCERT_VIEWPROPERTIES_STRUCT

#define PCERT_VIEWPROPERTIES_STRUCT   WINELIB_NAME_AW(PCERT_VIEWPROPERTIES_STRUCT_)

Definition at line 196 of file cryptdlg.h.

◆ POLICY_IGNORE_NON_CRITICAL_BC

#define POLICY_IGNORE_NON_CRITICAL_BC   0x00000001

Definition at line 34 of file cryptdlg.h.

◆ SELCERT_ALGORITHM

#define SELCERT_ALGORITHM   105

Definition at line 70 of file cryptdlg.h.

◆ SELCERT_CANCEL

#define SELCERT_CANCEL   IDCANCEL

Definition at line 63 of file cryptdlg.h.

◆ SELCERT_CERTLIST

#define SELCERT_CERTLIST   102

Definition at line 66 of file cryptdlg.h.

◆ SELCERT_FINEPRINT

#define SELCERT_FINEPRINT   101

Definition at line 65 of file cryptdlg.h.

◆ SELCERT_HELP

#define SELCERT_HELP   IDHELP

Definition at line 67 of file cryptdlg.h.

◆ SELCERT_ISSUED_TO

#define SELCERT_ISSUED_TO   103

Definition at line 68 of file cryptdlg.h.

◆ SELCERT_OK

#define SELCERT_OK   IDOK

Definition at line 62 of file cryptdlg.h.

◆ SELCERT_PROPERTIES

#define SELCERT_PROPERTIES   100

Definition at line 64 of file cryptdlg.h.

◆ SELCERT_SERIAL_NUM

#define SELCERT_SERIAL_NUM   106

Definition at line 71 of file cryptdlg.h.

◆ SELCERT_THUMBPRINT

#define SELCERT_THUMBPRINT   107

Definition at line 72 of file cryptdlg.h.

◆ SELCERT_VALIDITY

#define SELCERT_VALIDITY   104

Definition at line 69 of file cryptdlg.h.

◆ szCERT_CERTIFICATE_ACTION_VERIFY

#define szCERT_CERTIFICATE_ACTION_VERIFY   "{7801ebd0-cf4b-11d0-851f-0060979387ea}"

Definition at line 238 of file cryptdlg.h.

Typedef Documentation

◆ CERT_FILTER_DATA

◆ CERT_FILTER_EXTENSION_MATCH

◆ CERT_SELECT_STRUCT_A

◆ CERT_SELECT_STRUCT_W

◆ CERT_VERIFY_CERTIFICATE_TRUST

◆ CERT_VIEWPROPERTIES_STRUCT_A

◆ CERT_VIEWPROPERTIES_STRUCT_W

◆ CTL_MODIFY_REQUEST

◆ PCERT_SELECT_STRUCT_A

◆ PCERT_SELECT_STRUCT_W

◆ PCERT_VERIFY_CERTIFICATE_TRUST

◆ PCERT_VIEWPROPERTIES_STRUCT_A

◆ PCERT_VIEWPROPERTIES_STRUCT_W

◆ PCTL_MODIFY_REQUEST

◆ PFNCMFILTERPROC

typedef BOOL(WINAPI * PFNCMFILTERPROC) (PCCERT_CONTEXT, DWORD, DWORD, DWORD)

Definition at line 40 of file cryptdlg.h.

◆ PFNCMHOOKPROC

typedef UINT(WINAPI * PFNCMHOOKPROC) (HWND, UINT, WPARAM, LPARAM)

Definition at line 52 of file cryptdlg.h.

◆ PFNTRUSTHELPER

typedef HRESULT(WINAPI * PFNTRUSTHELPER) (PCCERT_CONTEXT, DWORD, BOOL, LPBYTE)

Definition at line 241 of file cryptdlg.h.

Function Documentation

◆ CertModifyCertificatesToTrust()

HRESULT WINAPI CertModifyCertificatesToTrust ( int  cCertStore,
PCTL_MODIFY_REQUEST  rgCerts,
LPCSTR  szPurpose,
HWND  hwnd,
HCERTSTORE  hcertstoreTrust 
)

◆ CertSelectCertificateA()

BOOL WINAPI CertSelectCertificateA ( PCERT_SELECT_STRUCT_A  pCertSelectInfo)

◆ CertSelectCertificateW()

BOOL WINAPI CertSelectCertificateW ( PCERT_SELECT_STRUCT_W  pCertSelectInfo)

◆ CertViewPropertiesA()

BOOL WINAPI CertViewPropertiesA ( PCERT_VIEWPROPERTIES_STRUCT_A  pCertViewInfo)

◆ CertViewPropertiesW()

BOOL WINAPI CertViewPropertiesW ( PCERT_VIEWPROPERTIES_STRUCT_W  pCertViewInfo)

◆ GetFriendlyNameOfCertA()

DWORD WINAPI GetFriendlyNameOfCertA ( PCCERT_CONTEXT  pccert,
LPSTR  pchBuffer,
DWORD  cchBuffer 
)

Definition at line 62 of file main.c.

64 {
66  pchBuffer, cchBuffer);
67 }
#define CERT_NAME_FRIENDLY_DISPLAY_TYPE
Definition: wincrypt.h:3501
static DWORD cchBuffer
Definition: fusion.c:85
smooth NULL
Definition: ftsmooth.c:416
DWORD WINAPI CertGetNameStringA(PCCERT_CONTEXT pCertContext, DWORD dwType, DWORD dwFlags, void *pvTypePara, LPSTR pszNameString, DWORD cchNameString)
Definition: str.c:1127

◆ GetFriendlyNameOfCertW()

DWORD WINAPI GetFriendlyNameOfCertW ( PCCERT_CONTEXT  pccert,
LPWSTR  pchBuffer,
DWORD  cchBuffer 
)

Definition at line 72 of file main.c.

74 {
76  pchBuffer, cchBuffer);
77 }
#define CERT_NAME_FRIENDLY_DISPLAY_TYPE
Definition: wincrypt.h:3501
static DWORD cchBuffer
Definition: fusion.c:85
smooth NULL
Definition: ftsmooth.c:416
DWORD WINAPI CertGetNameStringW(PCCERT_CONTEXT pCertContext, DWORD dwType, DWORD dwFlags, void *pvTypePara, LPWSTR pszNameString, DWORD cchNameString)
Definition: str.c:1228