FreeRDP
wincrypt.h File Reference
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/error.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  CRYPT_INTEGER_BLOB
 
struct  CRYPT_ALGORITHM_IDENTIFIER
 
struct  CRYPT_BIT_BLOB
 
struct  CERT_PUBLIC_KEY_INFO
 
struct  CERT_EXTENSION
 
struct  CERT_INFO
 
struct  CERT_CONTEXT
 
struct  CRYPTPROTECT_PROMPTSTRUCT
 

Macros

#define ALG_TYPE_RESERVED7   (7 << 9)
 
#define ALG_SID_SHA_256   12
 
#define ALG_SID_SHA_384   13
 
#define ALG_SID_SHA_512   14
 
#define CALG_SHA_256   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_256)
 
#define CALG_SHA_384   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_384)
 
#define CALG_SHA_512   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_512)
 
#define GET_ALG_CLASS(x)   (x & (7 << 13))
 
#define GET_ALG_TYPE(x)   (x & (15 << 9))
 
#define GET_ALG_SID(x)   (x & (511))
 
#define ALG_CLASS_ANY   (0)
 
#define ALG_CLASS_SIGNATURE   (1 << 13)
 
#define ALG_CLASS_MSG_ENCRYPT   (2 << 13)
 
#define ALG_CLASS_DATA_ENCRYPT   (3 << 13)
 
#define ALG_CLASS_HASH   (4 << 13)
 
#define ALG_CLASS_KEY_EXCHANGE   (5 << 13)
 
#define ALG_CLASS_ALL   (7 << 13)
 
#define ALG_TYPE_ANY   (0)
 
#define ALG_TYPE_DSS   (1 << 9)
 
#define ALG_TYPE_RSA   (2 << 9)
 
#define ALG_TYPE_BLOCK   (3 << 9)
 
#define ALG_TYPE_STREAM   (4 << 9)
 
#define ALG_TYPE_DH   (5 << 9)
 
#define ALG_TYPE_SECURECHANNEL   (6 << 9)
 
#define ALG_SID_ANY   (0)
 
#define ALG_SID_RSA_ANY   0
 
#define ALG_SID_RSA_PKCS   1
 
#define ALG_SID_RSA_MSATWORK   2
 
#define ALG_SID_RSA_ENTRUST   3
 
#define ALG_SID_RSA_PGP   4
 
#define ALG_SID_DSS_ANY   0
 
#define ALG_SID_DSS_PKCS   1
 
#define ALG_SID_DSS_DMS   2
 
#define ALG_SID_DES   1
 
#define ALG_SID_3DES   3
 
#define ALG_SID_DESX   4
 
#define ALG_SID_IDEA   5
 
#define ALG_SID_CAST   6
 
#define ALG_SID_SAFERSK64   7
 
#define ALG_SID_SAFERSK128   8
 
#define ALG_SID_3DES_112   9
 
#define ALG_SID_CYLINK_MEK   12
 
#define ALG_SID_RC5   13
 
#define ALG_SID_AES_128   14
 
#define ALG_SID_AES_192   15
 
#define ALG_SID_AES_256   16
 
#define ALG_SID_AES   17
 
#define ALG_SID_SKIPJACK   10
 
#define ALG_SID_TEK   11
 
#define CRYPT_MODE_CBCI   6
 
#define CRYPT_MODE_CFBP   7
 
#define CRYPT_MODE_OFBP   8
 
#define CRYPT_MODE_CBCOFM   9
 
#define CRYPT_MODE_CBCOFMI   10
 
#define ALG_SID_RC2   2
 
#define ALG_SID_RC4   1
 
#define ALG_SID_SEAL   2
 
#define ALG_SID_DH_SANDF   1
 
#define ALG_SID_DH_EPHEM   2
 
#define ALG_SID_AGREED_KEY_ANY   3
 
#define ALG_SID_KEA   4
 
#define ALG_SID_ECDH   5
 
#define ALG_SID_MD2   1
 
#define ALG_SID_MD4   2
 
#define ALG_SID_MD5   3
 
#define ALG_SID_SHA   4
 
#define ALG_SID_SHA1   4
 
#define ALG_SID_MAC   5
 
#define ALG_SID_RIPEMD   6
 
#define ALG_SID_RIPEMD160   7
 
#define ALG_SID_SSL3SHAMD5   8
 
#define ALG_SID_HMAC   9
 
#define ALG_SID_TLS1PRF   10
 
#define ALG_SID_HASH_REPLACE_OWF   11
 
#define ALG_SID_SHA_256   12
 
#define ALG_SID_SHA_384   13
 
#define ALG_SID_SHA_512   14
 
#define ALG_SID_SSL3_MASTER   1
 
#define ALG_SID_SCHANNEL_MASTER_HASH   2
 
#define ALG_SID_SCHANNEL_MAC_KEY   3
 
#define ALG_SID_PCT1_MASTER   4
 
#define ALG_SID_SSL2_MASTER   5
 
#define ALG_SID_TLS1_MASTER   6
 
#define ALG_SID_SCHANNEL_ENC_KEY   7
 
#define ALG_SID_ECMQV   1
 
#define CALG_MD2   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD2)
 
#define CALG_MD4   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD4)
 
#define CALG_MD5   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD5)
 
#define CALG_SHA   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA)
 
#define CALG_SHA1   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA1)
 
#define CALG_MAC   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MAC)
 
#define CALG_RSA_SIGN   (ALG_CLASS_SIGNATURE | ALG_TYPE_RSA | ALG_SID_RSA_ANY)
 
#define CALG_DSS_SIGN   (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_DSS_ANY)
 
#define CALG_NO_SIGN   (ALG_CLASS_SIGNATURE | ALG_TYPE_ANY | ALG_SID_ANY)
 
#define CALG_RSA_KEYX   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_RSA | ALG_SID_RSA_ANY)
 
#define CALG_DES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DES)
 
#define CALG_3DES_112   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES_112)
 
#define CALG_3DES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES)
 
#define CALG_DESX   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DESX)
 
#define CALG_RC2   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_RC2)
 
#define CALG_RC4   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_RC4)
 
#define CALG_SEAL   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_SEAL)
 
#define CALG_DH_SF   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_SANDF)
 
#define CALG_DH_EPHEM   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_EPHEM)
 
#define CALG_AGREEDKEY_ANY   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_AGREED_KEY_ANY)
 
#define CALG_KEA_KEYX   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_KEA)
 
#define CALG_HUGHES_MD5   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_MD5)
 
#define CALG_SKIPJACK   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_SKIPJACK)
 
#define CALG_TEK   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_TEK)
 
#define CALG_CYLINK_MEK   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_CYLINK_MEK)
 
#define CALG_SSL3_SHAMD5   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SSL3SHAMD5)
 
#define CALG_SSL3_MASTER   (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SSL3_MASTER)
 
#define CALG_SCHANNEL_MASTER_HASH    (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MASTER_HASH)
 
#define CALG_SCHANNEL_MAC_KEY    (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MAC_KEY)
 
#define CALG_SCHANNEL_ENC_KEY    (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_ENC_KEY)
 
#define CALG_PCT1_MASTER   (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_PCT1_MASTER)
 
#define CALG_SSL2_MASTER   (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SSL2_MASTER)
 
#define CALG_TLS1_MASTER   (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_TLS1_MASTER)
 
#define CALG_RC5   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_RC5)
 
#define CALG_HMAC   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HMAC)
 
#define CALG_TLS1PRF   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF)
 
#define CALG_HASH_REPLACE_OWF   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HASH_REPLACE_OWF)
 
#define CALG_AES_128   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_128)
 
#define CALG_AES_192   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_192)
 
#define CALG_AES_256   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_256)
 
#define CALG_AES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES)
 
#define CALG_SHA_256   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_256)
 
#define CALG_SHA_384   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_384)
 
#define CALG_SHA_512   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_512)
 
#define CALG_ECDH   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_ECDH)
 
#define CALG_ECMQV   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_ECMQV)
 
#define AT_KEYEXCHANGE   (1)
 
#define AT_SIGNATURE   (2)
 
#define AT_AUTHENTICATE   (3)
 
#define CERT_ENCODING_TYPE_MASK   0x0000FFFF
 
#define CMSG_ENCODING_TYPE_MASK   0xFFFF0000
 
#define GET_CERT_ENCODING_TYPE(x)   (x & CERT_ENCODING_TYPE_MASK)
 
#define GET_CMSG_ENCODING_TYPE(x)   (x & CMSG_ENCODING_TYPE_MASK)
 
#define CRYPT_ASN_ENCODING   0x00000001
 
#define CRYPT_NDR_ENCODING   0x00000002
 
#define X509_ASN_ENCODING   0x00000001
 
#define X509_NDR_ENCODING   0x00000002
 
#define PKCS_7_ASN_ENCODING   0x00010000
 
#define PKCS_7_NDR_ENCODING   0x00020000
 
#define CERT_KEY_PROV_HANDLE_PROP_ID   1
 
#define CERT_KEY_PROV_INFO_PROP_ID   2
 
#define CERT_SHA1_HASH_PROP_ID   3
 
#define CERT_MD5_HASH_PROP_ID   4
 
#define CERT_HASH_PROP_ID   CERT_SHA1_HASH_PROP_ID
 
#define CERT_KEY_CONTEXT_PROP_ID   5
 
#define CERT_KEY_SPEC_PROP_ID   6
 
#define CERT_IE30_RESERVED_PROP_ID   7
 
#define CERT_PUBKEY_HASH_RESERVED_PROP_ID   8
 
#define CERT_ENHKEY_USAGE_PROP_ID   9
 
#define CERT_CTL_USAGE_PROP_ID   CERT_ENHKEY_USAGE_PROP_ID
 
#define CERT_NEXT_UPDATE_LOCATION_PROP_ID   10
 
#define CERT_FRIENDLY_NAME_PROP_ID   11
 
#define CERT_PVK_FILE_PROP_ID   12
 
#define CERT_DESCRIPTION_PROP_ID   13
 
#define CERT_ACCESS_STATE_PROP_ID   14
 
#define CERT_SIGNATURE_HASH_PROP_ID   15
 
#define CERT_SMART_CARD_DATA_PROP_ID   16
 
#define CERT_EFS_PROP_ID   17
 
#define CERT_FORTEZZA_DATA_PROP_ID   18
 
#define CERT_ARCHIVED_PROP_ID   19
 
#define CERT_KEY_IDENTIFIER_PROP_ID   20
 
#define CERT_AUTO_ENROLL_PROP_ID   21
 
#define CERT_PUBKEY_ALG_PARA_PROP_ID   22
 
#define CERT_CROSS_CERT_DIST_POINTS_PROP_ID   23
 
#define CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID   24
 
#define CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID   25
 
#define CERT_ENROLLMENT_PROP_ID   26
 
#define CERT_DATE_STAMP_PROP_ID   27
 
#define CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID   28
 
#define CERT_SUBJECT_NAME_MD5_HASH_PROP_ID   29
 
#define CERT_EXTENDED_ERROR_INFO_PROP_ID   30
 
#define CERT_RENEWAL_PROP_ID   64
 
#define CERT_ARCHIVED_KEY_HASH_PROP_ID   65
 
#define CERT_AUTO_ENROLL_RETRY_PROP_ID   66
 
#define CERT_AIA_URL_RETRIEVED_PROP_ID   67
 
#define CERT_AUTHORITY_INFO_ACCESS_PROP_ID   68
 
#define CERT_BACKED_UP_PROP_ID   69
 
#define CERT_OCSP_RESPONSE_PROP_ID   70
 
#define CERT_REQUEST_ORIGINATOR_PROP_ID   71
 
#define CERT_SOURCE_LOCATION_PROP_ID   72
 
#define CERT_SOURCE_URL_PROP_ID   73
 
#define CERT_NEW_KEY_PROP_ID   74
 
#define CERT_OCSP_CACHE_PREFIX_PROP_ID   75
 
#define CERT_SMART_CARD_ROOT_INFO_PROP_ID   76
 
#define CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID   77
 
#define CERT_NCRYPT_KEY_HANDLE_PROP_ID   78
 
#define CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID   79
 
#define CERT_SUBJECT_INFO_ACCESS_PROP_ID   80
 
#define CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID   81
 
#define CERT_CA_DISABLE_CRL_PROP_ID   82
 
#define CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID   83
 
#define CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID   84
 
#define CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID   85
 
#define CERT_SUBJECT_DISABLE_CRL_PROP_ID   86
 
#define CERT_CEP_PROP_ID   87
 
#define CERT_SIGN_HASH_CNG_ALG_PROP_ID   89
 
#define CERT_SCARD_PIN_ID_PROP_ID   90
 
#define CERT_SCARD_PIN_INFO_PROP_ID   91
 
#define CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID   92
 
#define CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID   93
 
#define CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID   94
 
#define CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID   95
 
#define CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID   96
 
#define CERT_NO_EXPIRE_NOTIFICATION_PROP_ID   97
 
#define CERT_AUTH_ROOT_SHA256_HASH_PROP_ID   98
 
#define CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID   99
 
#define CERT_HCRYPTPROV_TRANSFER_PROP_ID   100
 
#define CERT_SMART_CARD_READER_PROP_ID   101
 
#define CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID   102
 
#define CERT_KEY_REPAIR_ATTEMPTED_PROP_ID   103
 
#define CERT_DISALLOWED_FILETIME_PROP_ID   104
 
#define CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID   105
 
#define CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID   106
 
#define CERT_SHA256_HASH_PROP_ID   107
 
#define CERT_SCEP_SERVER_CERTS_PROP_ID   108
 
#define CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID   109
 
#define CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID   110
 
#define CERT_SCEP_CA_CERT_PROP_ID   111
 
#define CERT_SCEP_SIGNER_CERT_PROP_ID   112
 
#define CERT_SCEP_NONCE_PROP_ID   113
 
#define CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID   114
 
#define CERT_SCEP_FLAGS_PROP_ID   115
 
#define CERT_SCEP_GUID_PROP_ID   116
 
#define CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID   117
 
#define CERT_ISOLATED_KEY_PROP_ID   118
 
#define CERT_SERIAL_CHAIN_PROP_ID   119
 
#define CERT_KEY_CLASSIFICATION_PROP_ID   120
 
#define CERT_OCSP_MUST_STAPLE_PROP_ID   121
 
#define CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID   122
 
#define CERT_NONCOMPLIANT_ROOT_URL_PROP_ID   123
 
#define CERT_PIN_SHA256_HASH_PROP_ID   124
 
#define CERT_CLR_DELETE_KEY_PROP_ID   125
 
#define CERT_NOT_BEFORE_FILETIME_PROP_ID   126
 
#define CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID   127
 
#define CERT_FIRST_RESERVED_PROP_ID   107
 
#define CERT_LAST_RESERVED_PROP_ID   0x00007fff
 
#define CERT_FIRST_USER_PROP_ID   0x8000
 
#define CERT_LAST_USER_PROP_ID   0x0000ffff
 
#define CERT_COMPARE_MASK   0xFFFF
 
#define CERT_COMPARE_SHIFT   16
 
#define CERT_COMPARE_ANY   0
 
#define CERT_COMPARE_SHA1_HASH   1
 
#define CERT_COMPARE_NAME   2
 
#define CERT_COMPARE_ATTR   3
 
#define CERT_COMPARE_MD5_HASH   4
 
#define CERT_COMPARE_PROPERTY   5
 
#define CERT_COMPARE_PUBLIC_KEY   6
 
#define CERT_COMPARE_HASH   CERT_COMPARE_SHA1_HASH
 
#define CERT_COMPARE_NAME_STR_A   7
 
#define CERT_COMPARE_NAME_STR_W   8
 
#define CERT_COMPARE_KEY_SPEC   9
 
#define CERT_COMPARE_ENHKEY_USAGE   10
 
#define CERT_COMPARE_CTL_USAGE   CERT_COMPARE_ENHKEY_USAGE
 
#define CERT_COMPARE_SUBJECT_CERT   11
 
#define CERT_COMPARE_ISSUER_OF   12
 
#define CERT_COMPARE_EXISTING   13
 
#define CERT_COMPARE_SIGNATURE_HASH   14
 
#define CERT_COMPARE_KEY_IDENTIFIER   15
 
#define CERT_COMPARE_CERT_ID   16
 
#define CERT_COMPARE_CROSS_CERT_DIST_POINTS   17
 
#define CERT_COMPARE_PUBKEY_MD5_HASH   18
 
#define CERT_COMPARE_SUBJECT_INFO_ACCESS   19
 
#define CERT_COMPARE_HASH_STR   20
 
#define CERT_COMPARE_HAS_PRIVATE_KEY   21
 
#define CERT_FIND_ANY   (CERT_COMPARE_ANY << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_SHA1_HASH   (CERT_COMPARE_SHA1_HASH << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_MD5_HASH   (CERT_COMPARE_MD5_HASH << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_SIGNATURE_HASH   (CERT_COMPARE_SIGNATURE_HASH << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_KEY_IDENTIFIER   (CERT_COMPARE_KEY_IDENTIFIER << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_HASH   CERT_FIND_SHA1_HASH
 
#define CERT_FIND_PROPERTY   (CERT_COMPARE_PROPERTY << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_PUBLIC_KEY   (CERT_COMPARE_PUBLIC_KEY << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_SUBJECT_NAME   (CERT_COMPARE_NAME << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)
 
#define CERT_FIND_SUBJECT_ATTR   (CERT_COMPARE_ATTR << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)
 
#define CERT_FIND_ISSUER_NAME   (CERT_COMPARE_NAME << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)
 
#define CERT_FIND_ISSUER_ATTR   (CERT_COMPARE_ATTR << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)
 
#define CERT_FIND_SUBJECT_STR_A    (CERT_COMPARE_NAME_STR_A << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)
 
#define CERT_FIND_SUBJECT_STR_W    (CERT_COMPARE_NAME_STR_W << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)
 
#define CERT_FIND_SUBJECT_STR   CERT_FIND_SUBJECT_STR_W
 
#define CERT_FIND_ISSUER_STR_A    (CERT_COMPARE_NAME_STR_A << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)
 
#define CERT_FIND_ISSUER_STR_W    (CERT_COMPARE_NAME_STR_W << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)
 
#define CERT_FIND_ISSUER_STR   CERT_FIND_ISSUER_STR_W
 
#define CERT_FIND_KEY_SPEC   (CERT_COMPARE_KEY_SPEC << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_ENHKEY_USAGE   (CERT_COMPARE_ENHKEY_USAGE << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_CTL_USAGE   CERT_FIND_ENHKEY_USAGE
 
#define CERT_FIND_SUBJECT_CERT   (CERT_COMPARE_SUBJECT_CERT << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_ISSUER_OF   (CERT_COMPARE_ISSUER_OF << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_EXISTING   (CERT_COMPARE_EXISTING << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_CERT_ID   (CERT_COMPARE_CERT_ID << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_CROSS_CERT_DIST_POINTS   (CERT_COMPARE_CROSS_CERT_DIST_POINTS << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_PUBKEY_MD5_HASH   (CERT_COMPARE_PUBKEY_MD5_HASH << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_SUBJECT_INFO_ACCESS   (CERT_COMPARE_SUBJECT_INFO_ACCESS << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_HASH_STR   (CERT_COMPARE_HASH_STR << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_HAS_PRIVATE_KEY   (CERT_COMPARE_HAS_PRIVATE_KEY << CERT_COMPARE_SHIFT)
 
#define CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG   0x1
 
#define CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG   0x2
 
#define CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG   0x4
 
#define CERT_FIND_NO_ENHKEY_USAGE_FLAG   0x8
 
#define CERT_FIND_OR_ENHKEY_USAGE_FLAG   0x10
 
#define CERT_FIND_VALID_ENHKEY_USAGE_FLAG   0x20
 
#define CERT_FIND_OPTIONAL_CTL_USAGE_FLAG   CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG
 
#define CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG   CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG
 
#define CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG   CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG
 
#define CERT_FIND_NO_CTL_USAGE_FLAG   CERT_FIND_NO_ENHKEY_USAGE_FLAG
 
#define CERT_FIND_OR_CTL_USAGE_FLAG   CERT_FIND_OR_ENHKEY_USAGE_FLAG
 
#define CERT_FIND_VALID_CTL_USAGE_FLAG   CERT_FIND_VALID_ENHKEY_USAGE_FLAG
 
#define CERT_NAME_EMAIL_TYPE   1
 
#define CERT_NAME_RDN_TYPE   2
 
#define CERT_NAME_ATTR_TYPE   3
 
#define CERT_NAME_SIMPLE_DISPLAY_TYPE   4
 
#define CERT_NAME_FRIENDLY_DISPLAY_TYPE   5
 
#define CERT_NAME_DNS_TYPE   6
 
#define CERT_NAME_URL_TYPE   7
 
#define CERT_NAME_UPN_TYPE   8
 
#define CERT_NAME_ISSUER_FLAG   0x1
 
#define CERT_NAME_DISABLE_IE4_UTF8_FLAG   0x00010000
 
#define CERT_NAME_SEARCH_ALL_NAMES_FLAG   0x2
 
#define CERT_STORE_PROV_MSG   ((LPCSTR)1)
 
#define CERT_STORE_PROV_MEMORY   ((LPCSTR)2)
 
#define CERT_STORE_PROV_FILE   ((LPCSTR)3)
 
#define CERT_STORE_PROV_REG   ((LPCSTR)4)
 
#define CERT_STORE_PROV_PKCS7   ((LPCSTR)5)
 
#define CERT_STORE_PROV_SERIALIZED   ((LPCSTR)6)
 
#define CERT_STORE_PROV_FILENAME_A   ((LPCSTR)7)
 
#define CERT_STORE_PROV_FILENAME_W   ((LPCSTR)8)
 
#define CERT_STORE_PROV_FILENAME   CERT_STORE_PROV_FILENAME_W
 
#define CERT_STORE_PROV_SYSTEM_A   ((LPCSTR)9)
 
#define CERT_STORE_PROV_SYSTEM_W   ((LPCSTR)10)
 
#define CERT_STORE_PROV_SYSTEM   CERT_STORE_PROV_SYSTEM_W
 
#define CERT_STORE_PROV_COLLECTION   ((LPCSTR)11)
 
#define CERT_STORE_PROV_SYSTEM_REGISTRY_A   ((LPCSTR)12)
 
#define CERT_STORE_PROV_SYSTEM_REGISTRY_W   ((LPCSTR)13)
 
#define CERT_STORE_PROV_SYSTEM_REGISTRY   CERT_STORE_PROV_SYSTEM_REGISTRY_W
 
#define CERT_STORE_PROV_PHYSICAL_W   ((LPCSTR)14)
 
#define CERT_STORE_PROV_PHYSICAL   CERT_STORE_PROV_PHYSICAL_W
 
#define CERT_STORE_PROV_SMART_CARD_W   ((LPCSTR)15)
 
#define CERT_STORE_PROV_SMART_CARD   CERT_STORE_PROV_SMART_CARD_W
 
#define CERT_STORE_PROV_LDAP_W   ((LPCSTR)16)
 
#define CERT_STORE_PROV_LDAP   CERT_STORE_PROV_LDAP_W
 
#define CERT_STORE_PROV_PKCS12   ((LPCSTR)17)
 
#define sz_CERT_STORE_PROV_MEMORY   "Memory"
 
#define sz_CERT_STORE_PROV_FILENAME_W   "File"
 
#define sz_CERT_STORE_PROV_FILENAME   sz_CERT_STORE_PROV_FILENAME_W
 
#define sz_CERT_STORE_PROV_SYSTEM_W   "System"
 
#define sz_CERT_STORE_PROV_SYSTEM   sz_CERT_STORE_PROV_SYSTEM_W
 
#define sz_CERT_STORE_PROV_PKCS7   "PKCS7"
 
#define sz_CERT_STORE_PROV_PKCS12   "PKCS12"
 
#define sz_CERT_STORE_PROV_SERIALIZED   "Serialized"
 
#define sz_CERT_STORE_PROV_COLLECTION   "Collection"
 
#define sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W   "SystemRegistry"
 
#define sz_CERT_STORE_PROV_SYSTEM_REGISTRY   sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W
 
#define sz_CERT_STORE_PROV_PHYSICAL_W   "Physical"
 
#define sz_CERT_STORE_PROV_PHYSICAL   sz_CERT_STORE_PROV_PHYSICAL_W
 
#define sz_CERT_STORE_PROV_SMART_CARD_W   "SmartCard"
 
#define sz_CERT_STORE_PROV_SMART_CARD   sz_CERT_STORE_PROV_SMART_CARD_W
 
#define sz_CERT_STORE_PROV_LDAP_W   "Ldap"
 
#define sz_CERT_STORE_PROV_LDAP   sz_CERT_STORE_PROV_LDAP_W
 
#define CERT_STORE_SIGNATURE_FLAG   0x00000001
 
#define CERT_STORE_TIME_VALIDITY_FLAG   0x00000002
 
#define CERT_STORE_REVOCATION_FLAG   0x00000004
 
#define CERT_STORE_NO_CRL_FLAG   0x00010000
 
#define CERT_STORE_NO_ISSUER_FLAG   0x00020000
 
#define CERT_STORE_BASE_CRL_FLAG   0x00000100
 
#define CERT_STORE_DELTA_CRL_FLAG   0x00000200
 
#define CERT_STORE_NO_CRYPT_RELEASE_FLAG   0x00000001
 
#define CERT_STORE_SET_LOCALIZED_NAME_FLAG   0x00000002
 
#define CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG   0x00000004
 
#define CERT_STORE_DELETE_FLAG   0x00000010
 
#define CERT_STORE_UNSAFE_PHYSICAL_FLAG   0x00000020
 
#define CERT_STORE_SHARE_STORE_FLAG   0x00000040
 
#define CERT_STORE_SHARE_CONTEXT_FLAG   0x00000080
 
#define CERT_STORE_MANIFOLD_FLAG   0x00000100
 
#define CERT_STORE_ENUM_ARCHIVED_FLAG   0x00000200
 
#define CERT_STORE_UPDATE_KEYID_FLAG   0x00000400
 
#define CERT_STORE_BACKUP_RESTORE_FLAG   0x00000800
 
#define CERT_STORE_READONLY_FLAG   0x00008000
 
#define CERT_STORE_OPEN_EXISTING_FLAG   0x00004000
 
#define CERT_STORE_CREATE_NEW_FLAG   0x00002000
 
#define CERT_STORE_MAXIMUM_ALLOWED_FLAG   0x00001000
 
#define CERT_SYSTEM_STORE_MASK   0xFFFF0000
 
#define CERT_SYSTEM_STORE_RELOCATE_FLAG   0x80000000
 
#define CERT_SYSTEM_STORE_UNPROTECTED_FLAG   0x40000000
 
#define CERT_SYSTEM_STORE_DEFER_READ_FLAG   0x20000000
 
#define CERT_SYSTEM_STORE_LOCATION_MASK   0x00FF0000
 
#define CERT_SYSTEM_STORE_LOCATION_SHIFT   16
 
#define CERT_SYSTEM_STORE_CURRENT_USER_ID   1
 
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ID   2
 
#define CERT_SYSTEM_STORE_CURRENT_SERVICE_ID   4
 
#define CERT_SYSTEM_STORE_SERVICES_ID   5
 
#define CERT_SYSTEM_STORE_USERS_ID   6
 
#define CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID   7
 
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID   8
 
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID   9
 
#define CERT_SYSTEM_STORE_CURRENT_USER    (CERT_SYSTEM_STORE_CURRENT_USER_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CERT_SYSTEM_STORE_LOCAL_MACHINE    (CERT_SYSTEM_STORE_LOCAL_MACHINE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CERT_SYSTEM_STORE_CURRENT_SERVICE    (CERT_SYSTEM_STORE_CURRENT_SERVICE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CERT_SYSTEM_STORE_SERVICES    (CERT_SYSTEM_STORE_SERVICES_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CERT_SYSTEM_STORE_USERS   (CERT_SYSTEM_STORE_USERS_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY    (CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY    (CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE    (CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
 
#define CertOpenSystemStore   CertOpenSystemStoreA
 
#define CertGetNameString   CertGetNameStringA
 
#define CRYPTPROTECTMEMORY_BLOCK_SIZE   16
 
#define CRYPTPROTECTMEMORY_SAME_PROCESS   0x00000000
 
#define CRYPTPROTECTMEMORY_CROSS_PROCESS   0x00000001
 
#define CRYPTPROTECTMEMORY_SAME_LOGON   0x00000002
 
#define CRYPTPROTECT_PROMPT_ON_UNPROTECT   0x00000001
 
#define CRYPTPROTECT_PROMPT_ON_PROTECT   0x00000002
 
#define CRYPTPROTECT_PROMPT_RESERVED   0x00000004
 
#define CRYPTPROTECT_PROMPT_STRONG   0x00000008
 
#define CRYPTPROTECT_PROMPT_REQUIRE_STRONG   0x00000010
 
#define CRYPTPROTECT_UI_FORBIDDEN   0x1
 
#define CRYPTPROTECT_LOCAL_MACHINE   0x4
 
#define CRYPTPROTECT_CRED_SYNC   0x8
 
#define CRYPTPROTECT_AUDIT   0x10
 
#define CRYPTPROTECT_NO_RECOVERY   0x20
 
#define CRYPTPROTECT_VERIFY_PROTECTION   0x40
 
#define CRYPTPROTECT_CRED_REGENERATE   0x80
 
#define CRYPTPROTECT_FIRST_RESERVED_FLAGVAL   0x0FFFFFFF
 
#define CRYPTPROTECT_LAST_RESERVED_FLAGVAL   0xFFFFFFFF
 
#define CRYPTPROTECT_DEFAULT_PROVIDER
 
#define CRYPT_STRING_BASE64HEADER   0x00000000
 
#define CRYPT_STRING_BASE64   0x00000001
 
#define CRYPT_STRING_BINARY   0x00000002
 
#define CRYPT_STRING_BASE64REQUESTHEADER   0x00000003
 
#define CRYPT_STRING_HEX   0x00000004
 
#define CRYPT_STRING_HEXASCII   0x00000005
 
#define CRYPT_STRING_BASE64_ANY   0x00000006
 
#define CRYPT_STRING_ANY   0x00000007
 
#define CRYPT_STRING_HEX_ANY   0x00000008
 
#define CRYPT_STRING_BASE64X509CRLHEADER   0x00000009
 
#define CRYPT_STRING_HEXADDR   0x0000000A
 
#define CRYPT_STRING_HEXASCIIADDR   0x0000000B
 
#define CRYPT_STRING_HEXRAW   0x0000000C
 
#define CRYPT_STRING_HASHDATA   0x10000000
 
#define CRYPT_STRING_STRICT   0x20000000
 
#define CRYPT_STRING_NOCRLF   0x40000000
 
#define CRYPT_STRING_NOCR   0x80000000
 
#define CryptStringToBinary   CryptStringToBinaryA
 
#define CryptBinaryToString   CryptBinaryToStringA
 
#define ALG_SID_ECDSA   3
 
#define CALG_ECDSA   (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_ECDSA)
 

Typedefs

typedef ULONG_PTR NCRYPT_HANDLE
 
typedef ULONG_PTR NCRYPT_PROV_HANDLE
 
typedef ULONG_PTR NCRYPT_KEY_HANDLE
 
typedef ULONG_PTR NCRYPT_HASH_HANDLE
 
typedef ULONG_PTR NCRYPT_SECRET_HANDLE
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_INTEGER_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRYPT_UINT_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_UINT_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRYPT_OBJID_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_OBJID_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CERT_NAME_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCERT_NAME_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CERT_RDN_VALUE_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCERT_RDN_VALUE_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CERT_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCERT_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRL_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRL_BLOB
 
typedef struct CRYPT_INTEGER_BLOB DATA_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPDATA_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRYPT_DATA_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_DATA_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRYPT_HASH_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_HASH_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRYPT_DIGEST_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_DIGEST_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRYPT_DER_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_DER_BLOB
 
typedef struct CRYPT_INTEGER_BLOB CRYPT_ATTR_BLOB
 
typedef struct CRYPT_INTEGER_BLOBPCRYPT_ATTR_BLOB
 
typedef struct CRYPT_ALGORITHM_IDENTIFIERPCRYPT_ALGORITHM_IDENTIFIER
 
typedef struct CRYPT_BIT_BLOBPCRYPT_BIT_BLOB
 
typedef struct CERT_PUBLIC_KEY_INFOPCERT_PUBLIC_KEY_INFO
 
typedef struct CERT_EXTENSIONPCERT_EXTENSION
 
typedef const CERT_EXTENSIONPCCERT_EXTENSION
 
typedef struct CERT_INFOPCERT_INFO
 
typedef void * HCERTSTORE
 
typedef ULONG_PTR HCRYPTPROV
 
typedef ULONG_PTR HCRYPTPROV_LEGACY
 
typedef struct CERT_CONTEXTPCERT_CONTEXT
 
typedef const CERT_CONTEXTPCCERT_CONTEXT
 
typedef struct CRYPTPROTECT_PROMPTSTRUCTPCRYPTPROTECT_PROMPTSTRUCT
 

Functions

WINPR_API HCERTSTORE CertOpenStore (LPCSTR lpszStoreProvider, DWORD dwMsgAndCertEncodingType, HCRYPTPROV_LEGACY hCryptProv, DWORD dwFlags, const void *pvPara)
 
WINPR_API HCERTSTORE CertOpenSystemStoreW (HCRYPTPROV_LEGACY hProv, LPCWSTR szSubsystemProtocol)
 
WINPR_API HCERTSTORE CertOpenSystemStoreA (HCRYPTPROV_LEGACY hProv, LPCSTR szSubsystemProtocol)
 
WINPR_API BOOL CertCloseStore (HCERTSTORE hCertStore, DWORD dwFlags)
 
WINPR_API PCCERT_CONTEXT CertFindCertificateInStore (HCERTSTORE hCertStore, DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, const void *pvFindPara, PCCERT_CONTEXT pPrevCertContext)
 
WINPR_API PCCERT_CONTEXT CertEnumCertificatesInStore (HCERTSTORE hCertStore, PCCERT_CONTEXT pPrevCertContext)
 
WINPR_API DWORD CertGetNameStringW (PCCERT_CONTEXT pCertContext, DWORD dwType, DWORD dwFlags, void *pvTypePara, LPWSTR pszNameString, DWORD cchNameString)
 
WINPR_API DWORD CertGetNameStringA (PCCERT_CONTEXT pCertContext, DWORD dwType, DWORD dwFlags, void *pvTypePara, LPSTR pszNameString, DWORD cchNameString)
 
WINPR_API BOOL CryptProtectMemory (LPVOID pData, DWORD cbData, DWORD dwFlags)
 
WINPR_API BOOL CryptUnprotectMemory (LPVOID pData, DWORD cbData, DWORD dwFlags)
 
WINPR_API BOOL CryptProtectData (DATA_BLOB *pDataIn, LPCWSTR szDataDescr, DATA_BLOB *pOptionalEntropy, PVOID pvReserved, CRYPTPROTECT_PROMPTSTRUCT *pPromptStruct, DWORD dwFlags, DATA_BLOB *pDataOut)
 
WINPR_API BOOL CryptUnprotectData (DATA_BLOB *pDataIn, LPWSTR *ppszDataDescr, DATA_BLOB *pOptionalEntropy, PVOID pvReserved, CRYPTPROTECT_PROMPTSTRUCT *pPromptStruct, DWORD dwFlags, DATA_BLOB *pDataOut)
 
WINPR_API BOOL CryptStringToBinaryW (LPCWSTR pszString, DWORD cchString, DWORD dwFlags, BYTE *pbBinary, DWORD *pcbBinary, DWORD *pdwSkip, DWORD *pdwFlags)
 
WINPR_API BOOL CryptStringToBinaryA (LPCSTR pszString, DWORD cchString, DWORD dwFlags, BYTE *pbBinary, DWORD *pcbBinary, DWORD *pdwSkip, DWORD *pdwFlags)
 
WINPR_API BOOL CryptBinaryToStringW (CONST BYTE *pbBinary, DWORD cbBinary, DWORD dwFlags, LPWSTR pszString, DWORD *pcchString)
 
WINPR_API BOOL CryptBinaryToStringA (CONST BYTE *pbBinary, DWORD cbBinary, DWORD dwFlags, LPSTR pszString, DWORD *pcchString)
 

Macro Definition Documentation

◆ ALG_CLASS_ALL

#define ALG_CLASS_ALL   (7 << 13)

◆ ALG_CLASS_ANY

#define ALG_CLASS_ANY   (0)

◆ ALG_CLASS_DATA_ENCRYPT

#define ALG_CLASS_DATA_ENCRYPT   (3 << 13)

◆ ALG_CLASS_HASH

#define ALG_CLASS_HASH   (4 << 13)

◆ ALG_CLASS_KEY_EXCHANGE

#define ALG_CLASS_KEY_EXCHANGE   (5 << 13)

◆ ALG_CLASS_MSG_ENCRYPT

#define ALG_CLASS_MSG_ENCRYPT   (2 << 13)

◆ ALG_CLASS_SIGNATURE

#define ALG_CLASS_SIGNATURE   (1 << 13)

◆ ALG_SID_3DES

#define ALG_SID_3DES   3

◆ ALG_SID_3DES_112

#define ALG_SID_3DES_112   9

◆ ALG_SID_AES

#define ALG_SID_AES   17

◆ ALG_SID_AES_128

#define ALG_SID_AES_128   14

◆ ALG_SID_AES_192

#define ALG_SID_AES_192   15

◆ ALG_SID_AES_256

#define ALG_SID_AES_256   16

◆ ALG_SID_AGREED_KEY_ANY

#define ALG_SID_AGREED_KEY_ANY   3

◆ ALG_SID_ANY

#define ALG_SID_ANY   (0)

◆ ALG_SID_CAST

#define ALG_SID_CAST   6

◆ ALG_SID_CYLINK_MEK

#define ALG_SID_CYLINK_MEK   12

◆ ALG_SID_DES

#define ALG_SID_DES   1

◆ ALG_SID_DESX

#define ALG_SID_DESX   4

◆ ALG_SID_DH_EPHEM

#define ALG_SID_DH_EPHEM   2

◆ ALG_SID_DH_SANDF

#define ALG_SID_DH_SANDF   1

◆ ALG_SID_DSS_ANY

#define ALG_SID_DSS_ANY   0

◆ ALG_SID_DSS_DMS

#define ALG_SID_DSS_DMS   2

◆ ALG_SID_DSS_PKCS

#define ALG_SID_DSS_PKCS   1

◆ ALG_SID_ECDH

#define ALG_SID_ECDH   5

◆ ALG_SID_ECDSA

#define ALG_SID_ECDSA   3

◆ ALG_SID_ECMQV

#define ALG_SID_ECMQV   1

◆ ALG_SID_HASH_REPLACE_OWF

#define ALG_SID_HASH_REPLACE_OWF   11

◆ ALG_SID_HMAC

#define ALG_SID_HMAC   9

◆ ALG_SID_IDEA

#define ALG_SID_IDEA   5

◆ ALG_SID_KEA

#define ALG_SID_KEA   4

◆ ALG_SID_MAC

#define ALG_SID_MAC   5

◆ ALG_SID_MD2

#define ALG_SID_MD2   1

◆ ALG_SID_MD4

#define ALG_SID_MD4   2

◆ ALG_SID_MD5

#define ALG_SID_MD5   3

◆ ALG_SID_PCT1_MASTER

#define ALG_SID_PCT1_MASTER   4

◆ ALG_SID_RC2

#define ALG_SID_RC2   2

◆ ALG_SID_RC4

#define ALG_SID_RC4   1

◆ ALG_SID_RC5

#define ALG_SID_RC5   13

◆ ALG_SID_RIPEMD

#define ALG_SID_RIPEMD   6

◆ ALG_SID_RIPEMD160

#define ALG_SID_RIPEMD160   7

◆ ALG_SID_RSA_ANY

#define ALG_SID_RSA_ANY   0

◆ ALG_SID_RSA_ENTRUST

#define ALG_SID_RSA_ENTRUST   3

◆ ALG_SID_RSA_MSATWORK

#define ALG_SID_RSA_MSATWORK   2

◆ ALG_SID_RSA_PGP

#define ALG_SID_RSA_PGP   4

◆ ALG_SID_RSA_PKCS

#define ALG_SID_RSA_PKCS   1

◆ ALG_SID_SAFERSK128

#define ALG_SID_SAFERSK128   8

◆ ALG_SID_SAFERSK64

#define ALG_SID_SAFERSK64   7

◆ ALG_SID_SCHANNEL_ENC_KEY

#define ALG_SID_SCHANNEL_ENC_KEY   7

◆ ALG_SID_SCHANNEL_MAC_KEY

#define ALG_SID_SCHANNEL_MAC_KEY   3

◆ ALG_SID_SCHANNEL_MASTER_HASH

#define ALG_SID_SCHANNEL_MASTER_HASH   2

◆ ALG_SID_SEAL

#define ALG_SID_SEAL   2

◆ ALG_SID_SHA

#define ALG_SID_SHA   4

◆ ALG_SID_SHA1

#define ALG_SID_SHA1   4

◆ ALG_SID_SHA_256 [1/2]

#define ALG_SID_SHA_256   12

◆ ALG_SID_SHA_256 [2/2]

#define ALG_SID_SHA_256   12

◆ ALG_SID_SHA_384 [1/2]

#define ALG_SID_SHA_384   13

◆ ALG_SID_SHA_384 [2/2]

#define ALG_SID_SHA_384   13

◆ ALG_SID_SHA_512 [1/2]

#define ALG_SID_SHA_512   14

◆ ALG_SID_SHA_512 [2/2]

#define ALG_SID_SHA_512   14

◆ ALG_SID_SKIPJACK

#define ALG_SID_SKIPJACK   10

◆ ALG_SID_SSL2_MASTER

#define ALG_SID_SSL2_MASTER   5

◆ ALG_SID_SSL3_MASTER

#define ALG_SID_SSL3_MASTER   1

◆ ALG_SID_SSL3SHAMD5

#define ALG_SID_SSL3SHAMD5   8

◆ ALG_SID_TEK

#define ALG_SID_TEK   11

◆ ALG_SID_TLS1_MASTER

#define ALG_SID_TLS1_MASTER   6

◆ ALG_SID_TLS1PRF

#define ALG_SID_TLS1PRF   10

◆ ALG_TYPE_ANY

#define ALG_TYPE_ANY   (0)

◆ ALG_TYPE_BLOCK

#define ALG_TYPE_BLOCK   (3 << 9)

◆ ALG_TYPE_DH

#define ALG_TYPE_DH   (5 << 9)

◆ ALG_TYPE_DSS

#define ALG_TYPE_DSS   (1 << 9)

◆ ALG_TYPE_RESERVED7

#define ALG_TYPE_RESERVED7   (7 << 9)

WinPR: Windows Portable Runtime Cryptography API (CryptoAPI)

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ ALG_TYPE_RSA

#define ALG_TYPE_RSA   (2 << 9)

◆ ALG_TYPE_SECURECHANNEL

#define ALG_TYPE_SECURECHANNEL   (6 << 9)

◆ ALG_TYPE_STREAM

#define ALG_TYPE_STREAM   (4 << 9)

◆ AT_AUTHENTICATE

#define AT_AUTHENTICATE   (3)

◆ AT_KEYEXCHANGE

#define AT_KEYEXCHANGE   (1)

◆ AT_SIGNATURE

#define AT_SIGNATURE   (2)

◆ CALG_3DES

#define CALG_3DES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES)

◆ CALG_3DES_112

#define CALG_3DES_112   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES_112)

◆ CALG_AES

#define CALG_AES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES)

◆ CALG_AES_128

#define CALG_AES_128   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_128)

◆ CALG_AES_192

#define CALG_AES_192   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_192)

◆ CALG_AES_256

#define CALG_AES_256   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_256)

◆ CALG_AGREEDKEY_ANY

#define CALG_AGREEDKEY_ANY   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_AGREED_KEY_ANY)

◆ CALG_CYLINK_MEK

#define CALG_CYLINK_MEK   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_CYLINK_MEK)

◆ CALG_DES

#define CALG_DES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DES)

◆ CALG_DESX

#define CALG_DESX   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DESX)

◆ CALG_DH_EPHEM

#define CALG_DH_EPHEM   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_EPHEM)

◆ CALG_DH_SF

#define CALG_DH_SF   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_SANDF)

◆ CALG_DSS_SIGN

#define CALG_DSS_SIGN   (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_DSS_ANY)

◆ CALG_ECDH

#define CALG_ECDH   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_ECDH)

◆ CALG_ECDSA

#define CALG_ECDSA   (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_ECDSA)

◆ CALG_ECMQV

#define CALG_ECMQV   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_ECMQV)

◆ CALG_HASH_REPLACE_OWF

#define CALG_HASH_REPLACE_OWF   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HASH_REPLACE_OWF)

◆ CALG_HMAC

#define CALG_HMAC   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HMAC)

◆ CALG_HUGHES_MD5

#define CALG_HUGHES_MD5   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_MD5)

◆ CALG_KEA_KEYX

#define CALG_KEA_KEYX   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_KEA)

◆ CALG_MAC

#define CALG_MAC   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MAC)

◆ CALG_MD2

#define CALG_MD2   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD2)

◆ CALG_MD4

#define CALG_MD4   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD4)

◆ CALG_MD5

#define CALG_MD5   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD5)

◆ CALG_NO_SIGN

#define CALG_NO_SIGN   (ALG_CLASS_SIGNATURE | ALG_TYPE_ANY | ALG_SID_ANY)

◆ CALG_PCT1_MASTER

◆ CALG_RC2

#define CALG_RC2   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_RC2)

◆ CALG_RC4

#define CALG_RC4   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_RC4)

◆ CALG_RC5

#define CALG_RC5   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_RC5)

◆ CALG_RSA_KEYX

#define CALG_RSA_KEYX   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_RSA | ALG_SID_RSA_ANY)

◆ CALG_RSA_SIGN

#define CALG_RSA_SIGN   (ALG_CLASS_SIGNATURE | ALG_TYPE_RSA | ALG_SID_RSA_ANY)

◆ CALG_SCHANNEL_ENC_KEY

#define CALG_SCHANNEL_ENC_KEY    (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_ENC_KEY)

◆ CALG_SCHANNEL_MAC_KEY

#define CALG_SCHANNEL_MAC_KEY    (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MAC_KEY)

◆ CALG_SCHANNEL_MASTER_HASH

#define CALG_SCHANNEL_MASTER_HASH    (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MASTER_HASH)

◆ CALG_SEAL

#define CALG_SEAL   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_SEAL)

◆ CALG_SHA

#define CALG_SHA   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA)

◆ CALG_SHA1

#define CALG_SHA1   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA1)

◆ CALG_SHA_256 [1/2]

#define CALG_SHA_256   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_256)

◆ CALG_SHA_256 [2/2]

#define CALG_SHA_256   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_256)

◆ CALG_SHA_384 [1/2]

#define CALG_SHA_384   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_384)

◆ CALG_SHA_384 [2/2]

#define CALG_SHA_384   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_384)

◆ CALG_SHA_512 [1/2]

#define CALG_SHA_512   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_512)

◆ CALG_SHA_512 [2/2]

#define CALG_SHA_512   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_512)

◆ CALG_SKIPJACK

#define CALG_SKIPJACK   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_SKIPJACK)

◆ CALG_SSL2_MASTER

◆ CALG_SSL3_MASTER

◆ CALG_SSL3_SHAMD5

#define CALG_SSL3_SHAMD5   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SSL3SHAMD5)

◆ CALG_TEK

#define CALG_TEK   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_TEK)

◆ CALG_TLS1_MASTER

◆ CALG_TLS1PRF

#define CALG_TLS1PRF   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF)

◆ CERT_ACCESS_STATE_PROP_ID

#define CERT_ACCESS_STATE_PROP_ID   14

◆ CERT_AIA_URL_RETRIEVED_PROP_ID

#define CERT_AIA_URL_RETRIEVED_PROP_ID   67

◆ CERT_ARCHIVED_KEY_HASH_PROP_ID

#define CERT_ARCHIVED_KEY_HASH_PROP_ID   65

◆ CERT_ARCHIVED_PROP_ID

#define CERT_ARCHIVED_PROP_ID   19

◆ CERT_AUTH_ROOT_SHA256_HASH_PROP_ID

#define CERT_AUTH_ROOT_SHA256_HASH_PROP_ID   98

◆ CERT_AUTHORITY_INFO_ACCESS_PROP_ID

#define CERT_AUTHORITY_INFO_ACCESS_PROP_ID   68

◆ CERT_AUTO_ENROLL_PROP_ID

#define CERT_AUTO_ENROLL_PROP_ID   21

◆ CERT_AUTO_ENROLL_RETRY_PROP_ID

#define CERT_AUTO_ENROLL_RETRY_PROP_ID   66

◆ CERT_BACKED_UP_PROP_ID

#define CERT_BACKED_UP_PROP_ID   69

◆ CERT_CA_DISABLE_CRL_PROP_ID

#define CERT_CA_DISABLE_CRL_PROP_ID   82

◆ CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID

#define CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID   81

◆ CERT_CEP_PROP_ID

#define CERT_CEP_PROP_ID   87

◆ CERT_CLR_DELETE_KEY_PROP_ID

#define CERT_CLR_DELETE_KEY_PROP_ID   125

◆ CERT_COMPARE_ANY

#define CERT_COMPARE_ANY   0

◆ CERT_COMPARE_ATTR

#define CERT_COMPARE_ATTR   3

◆ CERT_COMPARE_CERT_ID

#define CERT_COMPARE_CERT_ID   16

◆ CERT_COMPARE_CROSS_CERT_DIST_POINTS

#define CERT_COMPARE_CROSS_CERT_DIST_POINTS   17

◆ CERT_COMPARE_CTL_USAGE

#define CERT_COMPARE_CTL_USAGE   CERT_COMPARE_ENHKEY_USAGE

◆ CERT_COMPARE_ENHKEY_USAGE

#define CERT_COMPARE_ENHKEY_USAGE   10

◆ CERT_COMPARE_EXISTING

#define CERT_COMPARE_EXISTING   13

◆ CERT_COMPARE_HAS_PRIVATE_KEY

#define CERT_COMPARE_HAS_PRIVATE_KEY   21

◆ CERT_COMPARE_HASH

#define CERT_COMPARE_HASH   CERT_COMPARE_SHA1_HASH

◆ CERT_COMPARE_HASH_STR

#define CERT_COMPARE_HASH_STR   20

◆ CERT_COMPARE_ISSUER_OF

#define CERT_COMPARE_ISSUER_OF   12

◆ CERT_COMPARE_KEY_IDENTIFIER

#define CERT_COMPARE_KEY_IDENTIFIER   15

◆ CERT_COMPARE_KEY_SPEC

#define CERT_COMPARE_KEY_SPEC   9

◆ CERT_COMPARE_MASK

#define CERT_COMPARE_MASK   0xFFFF

◆ CERT_COMPARE_MD5_HASH

#define CERT_COMPARE_MD5_HASH   4

◆ CERT_COMPARE_NAME

#define CERT_COMPARE_NAME   2

◆ CERT_COMPARE_NAME_STR_A

#define CERT_COMPARE_NAME_STR_A   7

◆ CERT_COMPARE_NAME_STR_W

#define CERT_COMPARE_NAME_STR_W   8

◆ CERT_COMPARE_PROPERTY

#define CERT_COMPARE_PROPERTY   5

◆ CERT_COMPARE_PUBKEY_MD5_HASH

#define CERT_COMPARE_PUBKEY_MD5_HASH   18

◆ CERT_COMPARE_PUBLIC_KEY

#define CERT_COMPARE_PUBLIC_KEY   6

◆ CERT_COMPARE_SHA1_HASH

#define CERT_COMPARE_SHA1_HASH   1

◆ CERT_COMPARE_SHIFT

#define CERT_COMPARE_SHIFT   16

◆ CERT_COMPARE_SIGNATURE_HASH

#define CERT_COMPARE_SIGNATURE_HASH   14

◆ CERT_COMPARE_SUBJECT_CERT

#define CERT_COMPARE_SUBJECT_CERT   11

◆ CERT_COMPARE_SUBJECT_INFO_ACCESS

#define CERT_COMPARE_SUBJECT_INFO_ACCESS   19

◆ CERT_CROSS_CERT_DIST_POINTS_PROP_ID

#define CERT_CROSS_CERT_DIST_POINTS_PROP_ID   23

◆ CERT_CTL_USAGE_PROP_ID

#define CERT_CTL_USAGE_PROP_ID   CERT_ENHKEY_USAGE_PROP_ID

◆ CERT_DATE_STAMP_PROP_ID

#define CERT_DATE_STAMP_PROP_ID   27

◆ CERT_DESCRIPTION_PROP_ID

#define CERT_DESCRIPTION_PROP_ID   13

◆ CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID

#define CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID   122

◆ CERT_DISALLOWED_FILETIME_PROP_ID

#define CERT_DISALLOWED_FILETIME_PROP_ID   104

◆ CERT_EFS_PROP_ID

#define CERT_EFS_PROP_ID   17

◆ CERT_ENCODING_TYPE_MASK

#define CERT_ENCODING_TYPE_MASK   0x0000FFFF

◆ CERT_ENHKEY_USAGE_PROP_ID

#define CERT_ENHKEY_USAGE_PROP_ID   9

◆ CERT_ENROLLMENT_PROP_ID

#define CERT_ENROLLMENT_PROP_ID   26

◆ CERT_EXTENDED_ERROR_INFO_PROP_ID

#define CERT_EXTENDED_ERROR_INFO_PROP_ID   30

◆ CERT_FIND_ANY

#define CERT_FIND_ANY   (CERT_COMPARE_ANY << CERT_COMPARE_SHIFT)

◆ CERT_FIND_CERT_ID

#define CERT_FIND_CERT_ID   (CERT_COMPARE_CERT_ID << CERT_COMPARE_SHIFT)

◆ CERT_FIND_CROSS_CERT_DIST_POINTS

#define CERT_FIND_CROSS_CERT_DIST_POINTS   (CERT_COMPARE_CROSS_CERT_DIST_POINTS << CERT_COMPARE_SHIFT)

◆ CERT_FIND_CTL_USAGE

#define CERT_FIND_CTL_USAGE   CERT_FIND_ENHKEY_USAGE

◆ CERT_FIND_ENHKEY_USAGE

#define CERT_FIND_ENHKEY_USAGE   (CERT_COMPARE_ENHKEY_USAGE << CERT_COMPARE_SHIFT)

◆ CERT_FIND_EXISTING

#define CERT_FIND_EXISTING   (CERT_COMPARE_EXISTING << CERT_COMPARE_SHIFT)

◆ CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG

#define CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG   CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG

◆ CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG

#define CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG   0x2

◆ CERT_FIND_HAS_PRIVATE_KEY

#define CERT_FIND_HAS_PRIVATE_KEY   (CERT_COMPARE_HAS_PRIVATE_KEY << CERT_COMPARE_SHIFT)

◆ CERT_FIND_HASH

#define CERT_FIND_HASH   CERT_FIND_SHA1_HASH

◆ CERT_FIND_HASH_STR

#define CERT_FIND_HASH_STR   (CERT_COMPARE_HASH_STR << CERT_COMPARE_SHIFT)

◆ CERT_FIND_ISSUER_ATTR

#define CERT_FIND_ISSUER_ATTR   (CERT_COMPARE_ATTR << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)

◆ CERT_FIND_ISSUER_NAME

#define CERT_FIND_ISSUER_NAME   (CERT_COMPARE_NAME << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)

◆ CERT_FIND_ISSUER_OF

#define CERT_FIND_ISSUER_OF   (CERT_COMPARE_ISSUER_OF << CERT_COMPARE_SHIFT)

◆ CERT_FIND_ISSUER_STR

#define CERT_FIND_ISSUER_STR   CERT_FIND_ISSUER_STR_W

◆ CERT_FIND_ISSUER_STR_A

#define CERT_FIND_ISSUER_STR_A    (CERT_COMPARE_NAME_STR_A << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)

◆ CERT_FIND_ISSUER_STR_W

#define CERT_FIND_ISSUER_STR_W    (CERT_COMPARE_NAME_STR_W << CERT_COMPARE_SHIFT | CERT_INFO_ISSUER_FLAG)

◆ CERT_FIND_KEY_IDENTIFIER

#define CERT_FIND_KEY_IDENTIFIER   (CERT_COMPARE_KEY_IDENTIFIER << CERT_COMPARE_SHIFT)

◆ CERT_FIND_KEY_SPEC

#define CERT_FIND_KEY_SPEC   (CERT_COMPARE_KEY_SPEC << CERT_COMPARE_SHIFT)

◆ CERT_FIND_MD5_HASH

#define CERT_FIND_MD5_HASH   (CERT_COMPARE_MD5_HASH << CERT_COMPARE_SHIFT)

◆ CERT_FIND_NO_CTL_USAGE_FLAG

#define CERT_FIND_NO_CTL_USAGE_FLAG   CERT_FIND_NO_ENHKEY_USAGE_FLAG

◆ CERT_FIND_NO_ENHKEY_USAGE_FLAG

#define CERT_FIND_NO_ENHKEY_USAGE_FLAG   0x8

◆ CERT_FIND_OPTIONAL_CTL_USAGE_FLAG

#define CERT_FIND_OPTIONAL_CTL_USAGE_FLAG   CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG

◆ CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG

#define CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG   0x1

◆ CERT_FIND_OR_CTL_USAGE_FLAG

#define CERT_FIND_OR_CTL_USAGE_FLAG   CERT_FIND_OR_ENHKEY_USAGE_FLAG

◆ CERT_FIND_OR_ENHKEY_USAGE_FLAG

#define CERT_FIND_OR_ENHKEY_USAGE_FLAG   0x10

◆ CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG

#define CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG   CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG

◆ CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG

#define CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG   0x4

◆ CERT_FIND_PROPERTY

#define CERT_FIND_PROPERTY   (CERT_COMPARE_PROPERTY << CERT_COMPARE_SHIFT)

◆ CERT_FIND_PUBKEY_MD5_HASH

#define CERT_FIND_PUBKEY_MD5_HASH   (CERT_COMPARE_PUBKEY_MD5_HASH << CERT_COMPARE_SHIFT)

◆ CERT_FIND_PUBLIC_KEY

#define CERT_FIND_PUBLIC_KEY   (CERT_COMPARE_PUBLIC_KEY << CERT_COMPARE_SHIFT)

◆ CERT_FIND_SHA1_HASH

#define CERT_FIND_SHA1_HASH   (CERT_COMPARE_SHA1_HASH << CERT_COMPARE_SHIFT)

◆ CERT_FIND_SIGNATURE_HASH

#define CERT_FIND_SIGNATURE_HASH   (CERT_COMPARE_SIGNATURE_HASH << CERT_COMPARE_SHIFT)

◆ CERT_FIND_SUBJECT_ATTR

#define CERT_FIND_SUBJECT_ATTR   (CERT_COMPARE_ATTR << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)

◆ CERT_FIND_SUBJECT_CERT

#define CERT_FIND_SUBJECT_CERT   (CERT_COMPARE_SUBJECT_CERT << CERT_COMPARE_SHIFT)

◆ CERT_FIND_SUBJECT_INFO_ACCESS

#define CERT_FIND_SUBJECT_INFO_ACCESS   (CERT_COMPARE_SUBJECT_INFO_ACCESS << CERT_COMPARE_SHIFT)

◆ CERT_FIND_SUBJECT_NAME

#define CERT_FIND_SUBJECT_NAME   (CERT_COMPARE_NAME << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)

◆ CERT_FIND_SUBJECT_STR

#define CERT_FIND_SUBJECT_STR   CERT_FIND_SUBJECT_STR_W

◆ CERT_FIND_SUBJECT_STR_A

#define CERT_FIND_SUBJECT_STR_A    (CERT_COMPARE_NAME_STR_A << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)

◆ CERT_FIND_SUBJECT_STR_W

#define CERT_FIND_SUBJECT_STR_W    (CERT_COMPARE_NAME_STR_W << CERT_COMPARE_SHIFT | CERT_INFO_SUBJECT_FLAG)

◆ CERT_FIND_VALID_CTL_USAGE_FLAG

#define CERT_FIND_VALID_CTL_USAGE_FLAG   CERT_FIND_VALID_ENHKEY_USAGE_FLAG

◆ CERT_FIND_VALID_ENHKEY_USAGE_FLAG

#define CERT_FIND_VALID_ENHKEY_USAGE_FLAG   0x20

◆ CERT_FIRST_RESERVED_PROP_ID

#define CERT_FIRST_RESERVED_PROP_ID   107

◆ CERT_FIRST_USER_PROP_ID

#define CERT_FIRST_USER_PROP_ID   0x8000

◆ CERT_FORTEZZA_DATA_PROP_ID

#define CERT_FORTEZZA_DATA_PROP_ID   18

◆ CERT_FRIENDLY_NAME_PROP_ID

#define CERT_FRIENDLY_NAME_PROP_ID   11

◆ CERT_HASH_PROP_ID

#define CERT_HASH_PROP_ID   CERT_SHA1_HASH_PROP_ID

◆ CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID

#define CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID   79

◆ CERT_HCRYPTPROV_TRANSFER_PROP_ID

#define CERT_HCRYPTPROV_TRANSFER_PROP_ID   100

◆ CERT_IE30_RESERVED_PROP_ID

#define CERT_IE30_RESERVED_PROP_ID   7

◆ CERT_ISOLATED_KEY_PROP_ID

#define CERT_ISOLATED_KEY_PROP_ID   118

◆ CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID

#define CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID   96

◆ CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID

#define CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID   95

◆ CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID

#define CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID   94

◆ CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID

#define CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID   24

◆ CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID

#define CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID   28

◆ CERT_KEY_CLASSIFICATION_PROP_ID

#define CERT_KEY_CLASSIFICATION_PROP_ID   120

◆ CERT_KEY_CONTEXT_PROP_ID

#define CERT_KEY_CONTEXT_PROP_ID   5

◆ CERT_KEY_IDENTIFIER_PROP_ID

#define CERT_KEY_IDENTIFIER_PROP_ID   20

◆ CERT_KEY_PROV_HANDLE_PROP_ID

#define CERT_KEY_PROV_HANDLE_PROP_ID   1

◆ CERT_KEY_PROV_INFO_PROP_ID

#define CERT_KEY_PROV_INFO_PROP_ID   2

◆ CERT_KEY_REPAIR_ATTEMPTED_PROP_ID

#define CERT_KEY_REPAIR_ATTEMPTED_PROP_ID   103

◆ CERT_KEY_SPEC_PROP_ID

#define CERT_KEY_SPEC_PROP_ID   6

◆ CERT_LAST_RESERVED_PROP_ID

#define CERT_LAST_RESERVED_PROP_ID   0x00007fff

◆ CERT_LAST_USER_PROP_ID

#define CERT_LAST_USER_PROP_ID   0x0000ffff

◆ CERT_MD5_HASH_PROP_ID

#define CERT_MD5_HASH_PROP_ID   4

◆ CERT_NAME_ATTR_TYPE

#define CERT_NAME_ATTR_TYPE   3

◆ CERT_NAME_DISABLE_IE4_UTF8_FLAG

#define CERT_NAME_DISABLE_IE4_UTF8_FLAG   0x00010000

◆ CERT_NAME_DNS_TYPE

#define CERT_NAME_DNS_TYPE   6

◆ CERT_NAME_EMAIL_TYPE

#define CERT_NAME_EMAIL_TYPE   1

◆ CERT_NAME_FRIENDLY_DISPLAY_TYPE

#define CERT_NAME_FRIENDLY_DISPLAY_TYPE   5

◆ CERT_NAME_ISSUER_FLAG

#define CERT_NAME_ISSUER_FLAG   0x1

◆ CERT_NAME_RDN_TYPE

#define CERT_NAME_RDN_TYPE   2

◆ CERT_NAME_SEARCH_ALL_NAMES_FLAG

#define CERT_NAME_SEARCH_ALL_NAMES_FLAG   0x2

◆ CERT_NAME_SIMPLE_DISPLAY_TYPE

#define CERT_NAME_SIMPLE_DISPLAY_TYPE   4

◆ CERT_NAME_UPN_TYPE

#define CERT_NAME_UPN_TYPE   8

◆ CERT_NAME_URL_TYPE

#define CERT_NAME_URL_TYPE   7

◆ CERT_NCRYPT_KEY_HANDLE_PROP_ID

#define CERT_NCRYPT_KEY_HANDLE_PROP_ID   78

◆ CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID

#define CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID   99

◆ CERT_NEW_KEY_PROP_ID

#define CERT_NEW_KEY_PROP_ID   74

◆ CERT_NEXT_UPDATE_LOCATION_PROP_ID

#define CERT_NEXT_UPDATE_LOCATION_PROP_ID   10

◆ CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID

#define CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID   77

◆ CERT_NO_EXPIRE_NOTIFICATION_PROP_ID

#define CERT_NO_EXPIRE_NOTIFICATION_PROP_ID   97

◆ CERT_NONCOMPLIANT_ROOT_URL_PROP_ID

#define CERT_NONCOMPLIANT_ROOT_URL_PROP_ID   123

◆ CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID

#define CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID   127

◆ CERT_NOT_BEFORE_FILETIME_PROP_ID

#define CERT_NOT_BEFORE_FILETIME_PROP_ID   126

◆ CERT_OCSP_CACHE_PREFIX_PROP_ID

#define CERT_OCSP_CACHE_PREFIX_PROP_ID   75

◆ CERT_OCSP_MUST_STAPLE_PROP_ID

#define CERT_OCSP_MUST_STAPLE_PROP_ID   121

◆ CERT_OCSP_RESPONSE_PROP_ID

#define CERT_OCSP_RESPONSE_PROP_ID   70

◆ CERT_PIN_SHA256_HASH_PROP_ID

#define CERT_PIN_SHA256_HASH_PROP_ID   124

◆ CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID

#define CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID   93

◆ CERT_PUBKEY_ALG_PARA_PROP_ID

#define CERT_PUBKEY_ALG_PARA_PROP_ID   22

◆ CERT_PUBKEY_HASH_RESERVED_PROP_ID

#define CERT_PUBKEY_HASH_RESERVED_PROP_ID   8

◆ CERT_PVK_FILE_PROP_ID

#define CERT_PVK_FILE_PROP_ID   12

◆ CERT_RENEWAL_PROP_ID

#define CERT_RENEWAL_PROP_ID   64

◆ CERT_REQUEST_ORIGINATOR_PROP_ID

#define CERT_REQUEST_ORIGINATOR_PROP_ID   71

◆ CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID

#define CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID   83

◆ CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID

#define CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID   105

◆ CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID

#define CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID   84

◆ CERT_SCARD_PIN_ID_PROP_ID

#define CERT_SCARD_PIN_ID_PROP_ID   90

◆ CERT_SCARD_PIN_INFO_PROP_ID

#define CERT_SCARD_PIN_INFO_PROP_ID   91

◆ CERT_SCEP_CA_CERT_PROP_ID

#define CERT_SCEP_CA_CERT_PROP_ID   111

◆ CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID

#define CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID   114

◆ CERT_SCEP_FLAGS_PROP_ID

#define CERT_SCEP_FLAGS_PROP_ID   115

◆ CERT_SCEP_GUID_PROP_ID

#define CERT_SCEP_GUID_PROP_ID   116

◆ CERT_SCEP_NONCE_PROP_ID

#define CERT_SCEP_NONCE_PROP_ID   113

◆ CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID

#define CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID   110

◆ CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID

#define CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID   109

◆ CERT_SCEP_SERVER_CERTS_PROP_ID

#define CERT_SCEP_SERVER_CERTS_PROP_ID   108

◆ CERT_SCEP_SIGNER_CERT_PROP_ID

#define CERT_SCEP_SIGNER_CERT_PROP_ID   112

◆ CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID

#define CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID   102

◆ CERT_SERIAL_CHAIN_PROP_ID

#define CERT_SERIAL_CHAIN_PROP_ID   119

◆ CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID

#define CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID   117

◆ CERT_SHA1_HASH_PROP_ID

#define CERT_SHA1_HASH_PROP_ID   3

◆ CERT_SHA256_HASH_PROP_ID

#define CERT_SHA256_HASH_PROP_ID   107

◆ CERT_SIGN_HASH_CNG_ALG_PROP_ID

#define CERT_SIGN_HASH_CNG_ALG_PROP_ID   89

◆ CERT_SIGNATURE_HASH_PROP_ID

#define CERT_SIGNATURE_HASH_PROP_ID   15

◆ CERT_SMART_CARD_DATA_PROP_ID

#define CERT_SMART_CARD_DATA_PROP_ID   16

◆ CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID

#define CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID   106

◆ CERT_SMART_CARD_READER_PROP_ID

#define CERT_SMART_CARD_READER_PROP_ID   101

◆ CERT_SMART_CARD_ROOT_INFO_PROP_ID

#define CERT_SMART_CARD_ROOT_INFO_PROP_ID   76

◆ CERT_SOURCE_LOCATION_PROP_ID

#define CERT_SOURCE_LOCATION_PROP_ID   72

◆ CERT_SOURCE_URL_PROP_ID

#define CERT_SOURCE_URL_PROP_ID   73

◆ CERT_STORE_BACKUP_RESTORE_FLAG

#define CERT_STORE_BACKUP_RESTORE_FLAG   0x00000800

◆ CERT_STORE_BASE_CRL_FLAG

#define CERT_STORE_BASE_CRL_FLAG   0x00000100

◆ CERT_STORE_CREATE_NEW_FLAG

#define CERT_STORE_CREATE_NEW_FLAG   0x00002000

◆ CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG

#define CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG   0x00000004

◆ CERT_STORE_DELETE_FLAG

#define CERT_STORE_DELETE_FLAG   0x00000010

◆ CERT_STORE_DELTA_CRL_FLAG

#define CERT_STORE_DELTA_CRL_FLAG   0x00000200

◆ CERT_STORE_ENUM_ARCHIVED_FLAG

#define CERT_STORE_ENUM_ARCHIVED_FLAG   0x00000200

◆ CERT_STORE_MANIFOLD_FLAG

#define CERT_STORE_MANIFOLD_FLAG   0x00000100

◆ CERT_STORE_MAXIMUM_ALLOWED_FLAG

#define CERT_STORE_MAXIMUM_ALLOWED_FLAG   0x00001000

◆ CERT_STORE_NO_CRL_FLAG

#define CERT_STORE_NO_CRL_FLAG   0x00010000

◆ CERT_STORE_NO_CRYPT_RELEASE_FLAG

#define CERT_STORE_NO_CRYPT_RELEASE_FLAG   0x00000001

◆ CERT_STORE_NO_ISSUER_FLAG

#define CERT_STORE_NO_ISSUER_FLAG   0x00020000

◆ CERT_STORE_OPEN_EXISTING_FLAG

#define CERT_STORE_OPEN_EXISTING_FLAG   0x00004000

◆ CERT_STORE_PROV_COLLECTION

#define CERT_STORE_PROV_COLLECTION   ((LPCSTR)11)

◆ CERT_STORE_PROV_FILE

#define CERT_STORE_PROV_FILE   ((LPCSTR)3)

◆ CERT_STORE_PROV_FILENAME

#define CERT_STORE_PROV_FILENAME   CERT_STORE_PROV_FILENAME_W

◆ CERT_STORE_PROV_FILENAME_A

#define CERT_STORE_PROV_FILENAME_A   ((LPCSTR)7)

◆ CERT_STORE_PROV_FILENAME_W

#define CERT_STORE_PROV_FILENAME_W   ((LPCSTR)8)

◆ CERT_STORE_PROV_LDAP

#define CERT_STORE_PROV_LDAP   CERT_STORE_PROV_LDAP_W

◆ CERT_STORE_PROV_LDAP_W

#define CERT_STORE_PROV_LDAP_W   ((LPCSTR)16)

◆ CERT_STORE_PROV_MEMORY

#define CERT_STORE_PROV_MEMORY   ((LPCSTR)2)

◆ CERT_STORE_PROV_MSG

#define CERT_STORE_PROV_MSG   ((LPCSTR)1)

◆ CERT_STORE_PROV_PHYSICAL

#define CERT_STORE_PROV_PHYSICAL   CERT_STORE_PROV_PHYSICAL_W

◆ CERT_STORE_PROV_PHYSICAL_W

#define CERT_STORE_PROV_PHYSICAL_W   ((LPCSTR)14)

◆ CERT_STORE_PROV_PKCS12

#define CERT_STORE_PROV_PKCS12   ((LPCSTR)17)

◆ CERT_STORE_PROV_PKCS7

#define CERT_STORE_PROV_PKCS7   ((LPCSTR)5)

◆ CERT_STORE_PROV_REG

#define CERT_STORE_PROV_REG   ((LPCSTR)4)

◆ CERT_STORE_PROV_SERIALIZED

#define CERT_STORE_PROV_SERIALIZED   ((LPCSTR)6)

◆ CERT_STORE_PROV_SMART_CARD

#define CERT_STORE_PROV_SMART_CARD   CERT_STORE_PROV_SMART_CARD_W

◆ CERT_STORE_PROV_SMART_CARD_W

#define CERT_STORE_PROV_SMART_CARD_W   ((LPCSTR)15)

◆ CERT_STORE_PROV_SYSTEM

#define CERT_STORE_PROV_SYSTEM   CERT_STORE_PROV_SYSTEM_W

◆ CERT_STORE_PROV_SYSTEM_A

#define CERT_STORE_PROV_SYSTEM_A   ((LPCSTR)9)

◆ CERT_STORE_PROV_SYSTEM_REGISTRY

#define CERT_STORE_PROV_SYSTEM_REGISTRY   CERT_STORE_PROV_SYSTEM_REGISTRY_W

◆ CERT_STORE_PROV_SYSTEM_REGISTRY_A

#define CERT_STORE_PROV_SYSTEM_REGISTRY_A   ((LPCSTR)12)

◆ CERT_STORE_PROV_SYSTEM_REGISTRY_W

#define CERT_STORE_PROV_SYSTEM_REGISTRY_W   ((LPCSTR)13)

◆ CERT_STORE_PROV_SYSTEM_W

#define CERT_STORE_PROV_SYSTEM_W   ((LPCSTR)10)

◆ CERT_STORE_READONLY_FLAG

#define CERT_STORE_READONLY_FLAG   0x00008000

◆ CERT_STORE_REVOCATION_FLAG

#define CERT_STORE_REVOCATION_FLAG   0x00000004

◆ CERT_STORE_SET_LOCALIZED_NAME_FLAG

#define CERT_STORE_SET_LOCALIZED_NAME_FLAG   0x00000002

◆ CERT_STORE_SHARE_CONTEXT_FLAG

#define CERT_STORE_SHARE_CONTEXT_FLAG   0x00000080

◆ CERT_STORE_SHARE_STORE_FLAG

#define CERT_STORE_SHARE_STORE_FLAG   0x00000040

◆ CERT_STORE_SIGNATURE_FLAG

#define CERT_STORE_SIGNATURE_FLAG   0x00000001

◆ CERT_STORE_TIME_VALIDITY_FLAG

#define CERT_STORE_TIME_VALIDITY_FLAG   0x00000002

◆ CERT_STORE_UNSAFE_PHYSICAL_FLAG

#define CERT_STORE_UNSAFE_PHYSICAL_FLAG   0x00000020

◆ CERT_STORE_UPDATE_KEYID_FLAG

#define CERT_STORE_UPDATE_KEYID_FLAG   0x00000400

◆ CERT_SUBJECT_DISABLE_CRL_PROP_ID

#define CERT_SUBJECT_DISABLE_CRL_PROP_ID   86

◆ CERT_SUBJECT_INFO_ACCESS_PROP_ID

#define CERT_SUBJECT_INFO_ACCESS_PROP_ID   80

◆ CERT_SUBJECT_NAME_MD5_HASH_PROP_ID

#define CERT_SUBJECT_NAME_MD5_HASH_PROP_ID   29

◆ CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID

#define CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID   85

◆ CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID

#define CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID   92

◆ CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID

#define CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID   25

◆ CERT_SYSTEM_STORE_CURRENT_SERVICE

#define CERT_SYSTEM_STORE_CURRENT_SERVICE    (CERT_SYSTEM_STORE_CURRENT_SERVICE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_CURRENT_SERVICE_ID

#define CERT_SYSTEM_STORE_CURRENT_SERVICE_ID   4

◆ CERT_SYSTEM_STORE_CURRENT_USER

#define CERT_SYSTEM_STORE_CURRENT_USER    (CERT_SYSTEM_STORE_CURRENT_USER_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY

#define CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY    (CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID

#define CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID   7

◆ CERT_SYSTEM_STORE_CURRENT_USER_ID

#define CERT_SYSTEM_STORE_CURRENT_USER_ID   1

◆ CERT_SYSTEM_STORE_DEFER_READ_FLAG

#define CERT_SYSTEM_STORE_DEFER_READ_FLAG   0x20000000

◆ CERT_SYSTEM_STORE_LOCAL_MACHINE

#define CERT_SYSTEM_STORE_LOCAL_MACHINE    (CERT_SYSTEM_STORE_LOCAL_MACHINE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE

#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE    (CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID

#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID   9

◆ CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY

#define CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY    (CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID

#define CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID   8

◆ CERT_SYSTEM_STORE_LOCAL_MACHINE_ID

#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ID   2

◆ CERT_SYSTEM_STORE_LOCATION_MASK

#define CERT_SYSTEM_STORE_LOCATION_MASK   0x00FF0000

◆ CERT_SYSTEM_STORE_LOCATION_SHIFT

#define CERT_SYSTEM_STORE_LOCATION_SHIFT   16

◆ CERT_SYSTEM_STORE_MASK

#define CERT_SYSTEM_STORE_MASK   0xFFFF0000

◆ CERT_SYSTEM_STORE_RELOCATE_FLAG

#define CERT_SYSTEM_STORE_RELOCATE_FLAG   0x80000000

◆ CERT_SYSTEM_STORE_SERVICES

#define CERT_SYSTEM_STORE_SERVICES    (CERT_SYSTEM_STORE_SERVICES_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_SERVICES_ID

#define CERT_SYSTEM_STORE_SERVICES_ID   5

◆ CERT_SYSTEM_STORE_UNPROTECTED_FLAG

#define CERT_SYSTEM_STORE_UNPROTECTED_FLAG   0x40000000

◆ CERT_SYSTEM_STORE_USERS

#define CERT_SYSTEM_STORE_USERS   (CERT_SYSTEM_STORE_USERS_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)

◆ CERT_SYSTEM_STORE_USERS_ID

#define CERT_SYSTEM_STORE_USERS_ID   6

◆ CertGetNameString

#define CertGetNameString   CertGetNameStringA

◆ CertOpenSystemStore

#define CertOpenSystemStore   CertOpenSystemStoreA

◆ CMSG_ENCODING_TYPE_MASK

#define CMSG_ENCODING_TYPE_MASK   0xFFFF0000

◆ CRYPT_ASN_ENCODING

#define CRYPT_ASN_ENCODING   0x00000001

◆ CRYPT_MODE_CBCI

#define CRYPT_MODE_CBCI   6

◆ CRYPT_MODE_CBCOFM

#define CRYPT_MODE_CBCOFM   9

◆ CRYPT_MODE_CBCOFMI

#define CRYPT_MODE_CBCOFMI   10

◆ CRYPT_MODE_CFBP

#define CRYPT_MODE_CFBP   7

◆ CRYPT_MODE_OFBP

#define CRYPT_MODE_OFBP   8

◆ CRYPT_NDR_ENCODING

#define CRYPT_NDR_ENCODING   0x00000002

◆ CRYPT_STRING_ANY

#define CRYPT_STRING_ANY   0x00000007

◆ CRYPT_STRING_BASE64

#define CRYPT_STRING_BASE64   0x00000001

◆ CRYPT_STRING_BASE64_ANY

#define CRYPT_STRING_BASE64_ANY   0x00000006

◆ CRYPT_STRING_BASE64HEADER

#define CRYPT_STRING_BASE64HEADER   0x00000000

◆ CRYPT_STRING_BASE64REQUESTHEADER

#define CRYPT_STRING_BASE64REQUESTHEADER   0x00000003

◆ CRYPT_STRING_BASE64X509CRLHEADER

#define CRYPT_STRING_BASE64X509CRLHEADER   0x00000009

◆ CRYPT_STRING_BINARY

#define CRYPT_STRING_BINARY   0x00000002

◆ CRYPT_STRING_HASHDATA

#define CRYPT_STRING_HASHDATA   0x10000000

◆ CRYPT_STRING_HEX

#define CRYPT_STRING_HEX   0x00000004

◆ CRYPT_STRING_HEX_ANY

#define CRYPT_STRING_HEX_ANY   0x00000008

◆ CRYPT_STRING_HEXADDR

#define CRYPT_STRING_HEXADDR   0x0000000A

◆ CRYPT_STRING_HEXASCII

#define CRYPT_STRING_HEXASCII   0x00000005

◆ CRYPT_STRING_HEXASCIIADDR

#define CRYPT_STRING_HEXASCIIADDR   0x0000000B

◆ CRYPT_STRING_HEXRAW

#define CRYPT_STRING_HEXRAW   0x0000000C

◆ CRYPT_STRING_NOCR

#define CRYPT_STRING_NOCR   0x80000000

◆ CRYPT_STRING_NOCRLF

#define CRYPT_STRING_NOCRLF   0x40000000

◆ CRYPT_STRING_STRICT

#define CRYPT_STRING_STRICT   0x20000000

◆ CryptBinaryToString

#define CryptBinaryToString   CryptBinaryToStringA

◆ CRYPTPROTECT_AUDIT

#define CRYPTPROTECT_AUDIT   0x10

◆ CRYPTPROTECT_CRED_REGENERATE

#define CRYPTPROTECT_CRED_REGENERATE   0x80

◆ CRYPTPROTECT_CRED_SYNC

#define CRYPTPROTECT_CRED_SYNC   0x8

◆ CRYPTPROTECT_DEFAULT_PROVIDER

#define CRYPTPROTECT_DEFAULT_PROVIDER
Value:
{ \
0xdf9d8cd0, 0x1501, 0x11d1, \
{ \
0x8c, 0x7a, 0x00, 0xc0, 0x4f, 0xc2, 0x97, 0xeb \
} \
}

◆ CRYPTPROTECT_FIRST_RESERVED_FLAGVAL

#define CRYPTPROTECT_FIRST_RESERVED_FLAGVAL   0x0FFFFFFF

◆ CRYPTPROTECT_LAST_RESERVED_FLAGVAL

#define CRYPTPROTECT_LAST_RESERVED_FLAGVAL   0xFFFFFFFF

◆ CRYPTPROTECT_LOCAL_MACHINE

#define CRYPTPROTECT_LOCAL_MACHINE   0x4

◆ CRYPTPROTECT_NO_RECOVERY

#define CRYPTPROTECT_NO_RECOVERY   0x20

◆ CRYPTPROTECT_PROMPT_ON_PROTECT

#define CRYPTPROTECT_PROMPT_ON_PROTECT   0x00000002

◆ CRYPTPROTECT_PROMPT_ON_UNPROTECT

#define CRYPTPROTECT_PROMPT_ON_UNPROTECT   0x00000001

◆ CRYPTPROTECT_PROMPT_REQUIRE_STRONG

#define CRYPTPROTECT_PROMPT_REQUIRE_STRONG   0x00000010

◆ CRYPTPROTECT_PROMPT_RESERVED

#define CRYPTPROTECT_PROMPT_RESERVED   0x00000004

◆ CRYPTPROTECT_PROMPT_STRONG

#define CRYPTPROTECT_PROMPT_STRONG   0x00000008

◆ CRYPTPROTECT_UI_FORBIDDEN

#define CRYPTPROTECT_UI_FORBIDDEN   0x1

◆ CRYPTPROTECT_VERIFY_PROTECTION

#define CRYPTPROTECT_VERIFY_PROTECTION   0x40

◆ CRYPTPROTECTMEMORY_BLOCK_SIZE

#define CRYPTPROTECTMEMORY_BLOCK_SIZE   16

Data Protection API (DPAPI)

◆ CRYPTPROTECTMEMORY_CROSS_PROCESS

#define CRYPTPROTECTMEMORY_CROSS_PROCESS   0x00000001

◆ CRYPTPROTECTMEMORY_SAME_LOGON

#define CRYPTPROTECTMEMORY_SAME_LOGON   0x00000002

◆ CRYPTPROTECTMEMORY_SAME_PROCESS

#define CRYPTPROTECTMEMORY_SAME_PROCESS   0x00000000

◆ CryptStringToBinary

#define CryptStringToBinary   CryptStringToBinaryA

◆ GET_ALG_CLASS

#define GET_ALG_CLASS (   x)    (x & (7 << 13))

◆ GET_ALG_SID

#define GET_ALG_SID (   x)    (x & (511))

◆ GET_ALG_TYPE

#define GET_ALG_TYPE (   x)    (x & (15 << 9))

◆ GET_CERT_ENCODING_TYPE

#define GET_CERT_ENCODING_TYPE (   x)    (x & CERT_ENCODING_TYPE_MASK)

◆ GET_CMSG_ENCODING_TYPE

#define GET_CMSG_ENCODING_TYPE (   x)    (x & CMSG_ENCODING_TYPE_MASK)

◆ PKCS_7_ASN_ENCODING

#define PKCS_7_ASN_ENCODING   0x00010000

◆ PKCS_7_NDR_ENCODING

#define PKCS_7_NDR_ENCODING   0x00020000

◆ sz_CERT_STORE_PROV_COLLECTION

#define sz_CERT_STORE_PROV_COLLECTION   "Collection"

◆ sz_CERT_STORE_PROV_FILENAME

#define sz_CERT_STORE_PROV_FILENAME   sz_CERT_STORE_PROV_FILENAME_W

◆ sz_CERT_STORE_PROV_FILENAME_W

#define sz_CERT_STORE_PROV_FILENAME_W   "File"

◆ sz_CERT_STORE_PROV_LDAP

#define sz_CERT_STORE_PROV_LDAP   sz_CERT_STORE_PROV_LDAP_W

◆ sz_CERT_STORE_PROV_LDAP_W

#define sz_CERT_STORE_PROV_LDAP_W   "Ldap"

◆ sz_CERT_STORE_PROV_MEMORY

#define sz_CERT_STORE_PROV_MEMORY   "Memory"

◆ sz_CERT_STORE_PROV_PHYSICAL

#define sz_CERT_STORE_PROV_PHYSICAL   sz_CERT_STORE_PROV_PHYSICAL_W

◆ sz_CERT_STORE_PROV_PHYSICAL_W

#define sz_CERT_STORE_PROV_PHYSICAL_W   "Physical"

◆ sz_CERT_STORE_PROV_PKCS12

#define sz_CERT_STORE_PROV_PKCS12   "PKCS12"

◆ sz_CERT_STORE_PROV_PKCS7

#define sz_CERT_STORE_PROV_PKCS7   "PKCS7"

◆ sz_CERT_STORE_PROV_SERIALIZED

#define sz_CERT_STORE_PROV_SERIALIZED   "Serialized"

◆ sz_CERT_STORE_PROV_SMART_CARD

#define sz_CERT_STORE_PROV_SMART_CARD   sz_CERT_STORE_PROV_SMART_CARD_W

◆ sz_CERT_STORE_PROV_SMART_CARD_W

#define sz_CERT_STORE_PROV_SMART_CARD_W   "SmartCard"

◆ sz_CERT_STORE_PROV_SYSTEM

#define sz_CERT_STORE_PROV_SYSTEM   sz_CERT_STORE_PROV_SYSTEM_W

◆ sz_CERT_STORE_PROV_SYSTEM_REGISTRY

#define sz_CERT_STORE_PROV_SYSTEM_REGISTRY   sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W

◆ sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W

#define sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W   "SystemRegistry"

◆ sz_CERT_STORE_PROV_SYSTEM_W

#define sz_CERT_STORE_PROV_SYSTEM_W   "System"

◆ X509_ASN_ENCODING

#define X509_ASN_ENCODING   0x00000001

◆ X509_NDR_ENCODING

#define X509_NDR_ENCODING   0x00000002

Typedef Documentation

◆ CERT_BLOB

typedef struct CRYPT_INTEGER_BLOB CERT_BLOB

◆ CERT_NAME_BLOB

◆ CERT_RDN_VALUE_BLOB

◆ CRL_BLOB

typedef struct CRYPT_INTEGER_BLOB CRL_BLOB

◆ CRYPT_ATTR_BLOB

◆ CRYPT_DATA_BLOB

◆ CRYPT_DER_BLOB

◆ CRYPT_DIGEST_BLOB

◆ CRYPT_HASH_BLOB

◆ CRYPT_OBJID_BLOB

◆ CRYPT_UINT_BLOB

◆ DATA_BLOB

typedef struct CRYPT_INTEGER_BLOB DATA_BLOB

◆ HCERTSTORE

typedef void* HCERTSTORE

◆ HCRYPTPROV

typedef ULONG_PTR HCRYPTPROV

◆ HCRYPTPROV_LEGACY

typedef ULONG_PTR HCRYPTPROV_LEGACY

◆ NCRYPT_HANDLE

typedef ULONG_PTR NCRYPT_HANDLE

◆ NCRYPT_HASH_HANDLE

typedef ULONG_PTR NCRYPT_HASH_HANDLE

◆ NCRYPT_KEY_HANDLE

typedef ULONG_PTR NCRYPT_KEY_HANDLE

◆ NCRYPT_PROV_HANDLE

typedef ULONG_PTR NCRYPT_PROV_HANDLE

◆ NCRYPT_SECRET_HANDLE

typedef ULONG_PTR NCRYPT_SECRET_HANDLE

◆ PCCERT_CONTEXT

typedef const CERT_CONTEXT* PCCERT_CONTEXT

◆ PCCERT_EXTENSION

◆ PCERT_BLOB

typedef struct CRYPT_INTEGER_BLOB * PCERT_BLOB

◆ PCERT_CONTEXT

typedef struct CERT_CONTEXT * PCERT_CONTEXT

◆ PCERT_EXTENSION

typedef struct CERT_EXTENSION * PCERT_EXTENSION

◆ PCERT_INFO

typedef struct CERT_INFO * PCERT_INFO

◆ PCERT_NAME_BLOB

◆ PCERT_PUBLIC_KEY_INFO

◆ PCERT_RDN_VALUE_BLOB

◆ PCRL_BLOB

typedef struct CRYPT_INTEGER_BLOB * PCRL_BLOB

◆ PCRYPT_ALGORITHM_IDENTIFIER

◆ PCRYPT_ATTR_BLOB

◆ PCRYPT_BIT_BLOB

typedef struct CRYPT_BIT_BLOB * PCRYPT_BIT_BLOB

◆ PCRYPT_DATA_BLOB

◆ PCRYPT_DER_BLOB

◆ PCRYPT_DIGEST_BLOB

◆ PCRYPT_HASH_BLOB

◆ PCRYPT_INTEGER_BLOB

◆ PCRYPT_OBJID_BLOB

◆ PCRYPT_UINT_BLOB

◆ PCRYPTPROTECT_PROMPTSTRUCT

◆ PDATA_BLOB

typedef struct CRYPT_INTEGER_BLOB * PDATA_BLOB

Function Documentation

◆ CertCloseStore()

WINPR_API BOOL CertCloseStore ( HCERTSTORE  hCertStore,
DWORD  dwFlags 
)
Here is the caller graph for this function:

◆ CertEnumCertificatesInStore()

WINPR_API PCCERT_CONTEXT CertEnumCertificatesInStore ( HCERTSTORE  hCertStore,
PCCERT_CONTEXT  pPrevCertContext 
)
Here is the caller graph for this function:

◆ CertFindCertificateInStore()

WINPR_API PCCERT_CONTEXT CertFindCertificateInStore ( HCERTSTORE  hCertStore,
DWORD  dwCertEncodingType,
DWORD  dwFindFlags,
DWORD  dwFindType,
const void *  pvFindPara,
PCCERT_CONTEXT  pPrevCertContext 
)
Here is the caller graph for this function:

◆ CertGetNameStringA()

WINPR_API DWORD CertGetNameStringA ( PCCERT_CONTEXT  pCertContext,
DWORD  dwType,
DWORD  dwFlags,
void *  pvTypePara,
LPSTR  pszNameString,
DWORD  cchNameString 
)

◆ CertGetNameStringW()

WINPR_API DWORD CertGetNameStringW ( PCCERT_CONTEXT  pCertContext,
DWORD  dwType,
DWORD  dwFlags,
void *  pvTypePara,
LPWSTR  pszNameString,
DWORD  cchNameString 
)

◆ CertOpenStore()

WINPR_API HCERTSTORE CertOpenStore ( LPCSTR  lpszStoreProvider,
DWORD  dwMsgAndCertEncodingType,
HCRYPTPROV_LEGACY  hCryptProv,
DWORD  dwFlags,
const void *  pvPara 
)

WinPR: Windows Portable Runtime Cryptography API (CryptoAPI)

Copyright 2012-2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. CertOpenStore CertCloseStore CertControlStore CertDuplicateStore CertSaveStore CertRegisterPhysicalStore CertRegisterSystemStore CertAddStoreToCollection CertRemoveStoreFromCollection CertOpenSystemStoreA CertOpenSystemStoreW CertEnumPhysicalStore CertEnumSystemStore CertEnumSystemStoreLocation CertSetStoreProperty CertUnregisterPhysicalStore CertUnregisterSystemStore

CertAddCertificateContextToStore CertAddCertificateLinkToStore CertAddCRLContextToStore CertAddCRLLinkToStore CertAddCTLContextToStore CertAddCTLLinkToStore CertAddEncodedCertificateToStore CertAddEncodedCertificateToSystemStoreA CertAddEncodedCertificateToSystemStoreW CertAddEncodedCRLToStore CertAddEncodedCTLToStore CertAddSerializedElementToStore CertDeleteCertificateFromStore CertDeleteCRLFromStore CertDeleteCTLFromStore CertGetCRLFromStore CertEnumCertificatesInStore CertEnumCRLsInStore CertEnumCTLsInStore CertFindCertificateInStore CertFindChainInStore CertFindCRLInStore CertFindCTLInStore CertGetIssuerCertificateFromStore CertGetStoreProperty CertGetSubjectCertificateFromStore CertSerializeCertificateStoreElement CertSerializeCRLStoreElement CertSerializeCTLStoreElement

CertAddEnhancedKeyUsageIdentifier CertAddRefServerOcspResponse CertAddRefServerOcspResponseContext CertAlgIdToOID CertCloseServerOcspResponse CertCompareCertificate CertCompareCertificateName CertCompareIntegerBlob CertComparePublicKeyInfo CertCreateCertificateChainEngine CertCreateCertificateContext CertCreateContext CertCreateCRLContext CertCreateCTLContext CertCreateCTLEntryFromCertificateContextProperties CertCreateSelfSignCertificate CertDuplicateCertificateChain CertDuplicateCertificateContext CertDuplicateCRLContext CertDuplicateCTLContext CertEnumCertificateContextProperties CertEnumCRLContextProperties CertEnumCTLContextProperties CertEnumSubjectInSortedCTL CertFindAttribute CertFindCertificateInCRL CertFindExtension CertFindRDNAttr CertFindSubjectInCTL CertFindSubjectInSortedCTL CertFreeCertificateChain CertFreeCertificateChainEngine CertFreeCertificateChainList CertFreeCertificateContext CertFreeCRLContext CertFreeCTLContext CertFreeServerOcspResponseContext CertGetCertificateChain CertGetCertificateContextProperty CertGetCRLContextProperty CertGetCTLContextProperty CertGetEnhancedKeyUsage CertGetIntendedKeyUsage CertGetNameStringA CertGetNameStringW CertGetPublicKeyLength CertGetServerOcspResponseContext CertGetValidUsages CertIsRDNAttrsInCertificateName CertIsStrongHashToSign CertIsValidCRLForCertificate CertNameToStrA CertNameToStrW CertOIDToAlgId CertOpenServerOcspResponse CertRDNValueToStrA CertRDNValueToStrW CertRemoveEnhancedKeyUsageIdentifier CertResyncCertificateChainEngine CertRetrieveLogoOrBiometricInfo CertSelectCertificateChains CertSetCertificateContextPropertiesFromCTLEntry CertSetCertificateContextProperty CertSetCRLContextProperty CertSetCTLContextProperty CertSetEnhancedKeyUsage CertStrToNameA CertStrToNameW CertVerifyCertificateChainPolicy CertVerifyCRLRevocation CertVerifyCRLTimeValidity CertVerifyCTLUsage CertVerifyRevocation CertVerifySubjectCertificateContext CertVerifyTimeValidity CertVerifyValidityNesting

Here is the caller graph for this function:

◆ CertOpenSystemStoreA()

WINPR_API HCERTSTORE CertOpenSystemStoreA ( HCRYPTPROV_LEGACY  hProv,
LPCSTR  szSubsystemProtocol 
)
Here is the call graph for this function:

◆ CertOpenSystemStoreW()

WINPR_API HCERTSTORE CertOpenSystemStoreW ( HCRYPTPROV_LEGACY  hProv,
LPCWSTR  szSubsystemProtocol 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CryptBinaryToStringA()

WINPR_API BOOL CryptBinaryToStringA ( CONST BYTE pbBinary,
DWORD  cbBinary,
DWORD  dwFlags,
LPSTR  pszString,
DWORD *  pcchString 
)

◆ CryptBinaryToStringW()

WINPR_API BOOL CryptBinaryToStringW ( CONST BYTE pbBinary,
DWORD  cbBinary,
DWORD  dwFlags,
LPWSTR  pszString,
DWORD *  pcchString 
)

◆ CryptProtectData()

WINPR_API BOOL CryptProtectData ( DATA_BLOB pDataIn,
LPCWSTR  szDataDescr,
DATA_BLOB pOptionalEntropy,
PVOID  pvReserved,
CRYPTPROTECT_PROMPTSTRUCT pPromptStruct,
DWORD  dwFlags,
DATA_BLOB pDataOut 
)

◆ CryptProtectMemory()

WINPR_API BOOL CryptProtectMemory ( LPVOID  pData,
DWORD  cbData,
DWORD  dwFlags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CryptStringToBinaryA()

WINPR_API BOOL CryptStringToBinaryA ( LPCSTR  pszString,
DWORD  cchString,
DWORD  dwFlags,
BYTE pbBinary,
DWORD *  pcbBinary,
DWORD *  pdwSkip,
DWORD *  pdwFlags 
)

◆ CryptStringToBinaryW()

WINPR_API BOOL CryptStringToBinaryW ( LPCWSTR  pszString,
DWORD  cchString,
DWORD  dwFlags,
BYTE pbBinary,
DWORD *  pcbBinary,
DWORD *  pdwSkip,
DWORD *  pdwFlags 
)

◆ CryptUnprotectData()

WINPR_API BOOL CryptUnprotectData ( DATA_BLOB pDataIn,
LPWSTR *  ppszDataDescr,
DATA_BLOB pOptionalEntropy,
PVOID  pvReserved,
CRYPTPROTECT_PROMPTSTRUCT pPromptStruct,
DWORD  dwFlags,
DATA_BLOB pDataOut 
)

◆ CryptUnprotectMemory()

WINPR_API BOOL CryptUnprotectMemory ( LPVOID  pData,
DWORD  cbData,
DWORD  dwFlags 
)
Here is the call graph for this function:
Here is the caller graph for this function: