Edit

Share via


cryptdlg.h header

This header is used by Security and Identity. For more information, see:

cryptdlg.h contains the following programming interfaces:

Functions

 
CertModifyCertificatesToTrust

Modifies the set of certificates in a certificate trust list (CTL) for a given purpose.
CertSelectCertificateA

Presents a dialog box that allows the user to select certificates from a set of certificates that match the given criteria. (ANSI)
CertSelectCertificateW

Presents a dialog box that allows the user to select certificates from a set of certificates that match the given criteria. (Unicode)
CertViewPropertiesA

The CertViewProperties function displays the properties for a certificate in a user interface (UI) dialog box. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to CryptDlg.dll. (ANSI)
CertViewPropertiesW

The CertViewProperties function displays the properties for a certificate in a user interface (UI) dialog box. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to CryptDlg.dll. (Unicode)
GetFriendlyNameOfCertA

Retrieves the display name for a certificate. (ANSI)
GetFriendlyNameOfCertW

Retrieves the display name for a certificate. (Unicode)

Callback functions

 
PFNCMFILTERPROC

Filters each certificate to determine whether it will appear in the certificate selection dialog box that is displayed by the CertSelectCertificate function.
PFNCMHOOKPROC

Called before messages are processed by the certificate selection dialog box produced by the CertSelectCertificate function.

Structures

 
CERT_SELECT_STRUCT_A

Contains criteria upon which to select certificates that are presented in a certificate selection dialog box. This structure is used in the CertSelectCertificate function. (ANSI)
CERT_SELECT_STRUCT_W

Contains criteria upon which to select certificates that are presented in a certificate selection dialog box. This structure is used in the CertSelectCertificate function. (Unicode)
CERT_VIEWPROPERTIES_STRUCT_A

The CERT_VIEWPROPERTIES_STRUCT structure defines information used when the CertViewProperties function is called to display a certificate's properties. (ANSI)
CERT_VIEWPROPERTIES_STRUCT_W

The CERT_VIEWPROPERTIES_STRUCT structure defines information used when the CertViewProperties function is called to display a certificate's properties. (Unicode)
CTL_MODIFY_REQUEST

Contains a request to modify a certificate trust list (CTL). This structure is used in the CertModifyCertificatesToTrust function.