ReactOS  0.4.11-dev-433-g473ca91
wincrypt.h File Reference
#include <specstrings.h>
#include <bcrypt.h>
Include dependency graph for wincrypt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PROV_ENUMALGS
 
struct  _PROV_ENUMALGS_EX
 
struct  _SCHANNEL_ALG
 
struct  _HMAC_INFO
 
struct  _CRYPTOAPI_BLOB
 
struct  _CRYPTPROTECT_PROMPTSTRUCT
 
struct  _CRYPT_ALGORITHM_IDENTIFIER
 
struct  _CRYPT_ATTRIBUTE_TYPE_VALUE
 
struct  _PUBLICKEYSTRUC
 
struct  _RSAPUBKEY
 
struct  _PUBKEY
 
struct  _DSSSEED
 
struct  _PUBKEYVER3
 
struct  _PRIVKEYVER3
 
struct  _KEY_TYPE_SUBTYPE
 
struct  _CERT_FORTEZZA_DATA_PROP
 
struct  _CMS_DH_KEY_INFO
 
struct  _CRYPT_BIT_BLOB
 
struct  _CRYPT_KEY_PROV_PARAM
 
struct  _CRYPT_KEY_PROV_INFO
 
struct  _CERT_KEY_CONTEXT
 
struct  _CERT_PUBLIC_KEY_INFO
 
struct  _CERT_EXTENSION
 
struct  _CERT_EXTENSIONS
 
struct  _CERT_INFO
 
struct  _CERT_RDN_ATTR
 
struct  _CERT_RDN
 
struct  _CERT_NAME_INFO
 
struct  _CERT_NAME_VALUE
 
struct  _CERT_ENCRYPTED_PRIVATE_KEY_INFO
 
struct  _CERT_AUTHORITY_KEY_ID_INFO
 
struct  _CERT_PRIVATE_KEY_VALIDITY
 
struct  _CERT_KEY_ATTRIBUTES_INFO
 
struct  _CERT_ECC_SIGNATURE
 
struct  _CERT_POLICY_ID
 
struct  _CERT_KEY_USAGE_RESTRICTION_INFO
 
struct  _CERT_OTHER_NAME
 
struct  _CERT_ALT_NAME_ENTRY
 
struct  _CERT_ALT_NAME_INFO
 
struct  _CERT_BASIC_CONSTRAINTS_INFO
 
struct  _CERT_BASIC_CONSTRAINTS2_INFO
 
struct  _CERT_POLICY_QUALIFIER_INFO
 
struct  _CERT_POLICY_INFO
 
struct  _CERT_POLICIES_INFO
 
struct  _CERT_POLICY_QUALIFIER_NOTICE_REFERENCE
 
struct  _CERT_POLICY_QUALIFIER_USER_NOTICE
 
struct  _CPS_URLS
 
struct  _CERT_POLICY95_QUALIFIER1
 
struct  _CERT_POLICY_MAPPING
 
struct  _CERT_POLICY_MAPPINGS_INFO
 
struct  _CERT_POLICY_CONSTRAINTS_INFO
 
struct  _CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY
 
struct  _CRYPT_CONTENT_INFO
 
struct  _CRYPT_SEQUENCE_OF_ANY
 
struct  _CERT_AUTHORITY_KEY_ID2_INFO
 
struct  _CERT_ACCESS_DESCRIPTION
 
struct  _CERT_AUTHORITY_INFO_ACCESS
 
struct  _CERT_CONTEXT
 
struct  _CRL_ENTRY
 
struct  _CRL_INFO
 
struct  _CRL_DIST_POINT_NAME
 
struct  _CRL_DIST_POINT
 
struct  _CRL_DIST_POINTS_INFO
 
struct  _CROSS_CERT_DIST_POINTS_INFO
 
struct  _CERT_PAIR
 
struct  _CRL_ISSUING_DIST_POINT
 
struct  _CERT_GENERAL_SUBTREE
 
struct  _CERT_NAME_CONSTRAINTS_INFO
 
struct  _CRYPT_ATTRIBUTE
 
struct  _CRYPT_ATTRIBUTES
 
struct  _CERT_REQUEST_INFO
 
struct  _CERT_KEYGEN_REQUEST_INFO
 
struct  _CERT_SIGNED_CONTENT_INFO
 
struct  _CRL_CONTEXT
 
struct  _CERT_DSS_PARAMETERS
 
struct  _CERT_DH_PARAMETERS
 
struct  _CERT_X942_DH_VALIDATION_PARAMS
 
struct  _CERT_X942_DH_PARAMETERS
 
struct  _CRYPT_X942_OTHER_INFO
 
struct  _CRYPT_RC2_CBC_PARAMETERS
 
struct  _CRYPT_SMIME_CAPABILITY
 
struct  _CRYPT_SMIME_CAPABILITIES
 
struct  _VTableProvStruc
 
struct  _CERT_PRIVATE_KEY_INFO
 
struct  _CTL_USAGE
 
struct  _CTL_ENTRY
 
struct  _CTL_INFO
 
struct  _CTL_CONTEXT
 
struct  _CRYPT_TIME_STAMP_REQUEST_INFO
 
struct  _CRYPT_ENROLLMENT_NAME_VALUE_PAIR
 
struct  _CMSG_SIGNER_INFO
 
struct  _CERT_REVOCATION_CRL_INFO
 
struct  _CERT_REVOCATION_INFO
 
struct  _CERT_REVOCATION_PARA
 
struct  _CTL_VERIFY_USAGE_PARA
 
struct  _CTL_VERIFY_USAGE_STATUS
 
struct  _CERT_CHAIN
 
struct  _CERT_REVOCATION_STATUS
 
struct  _CERT_TRUST_LIST_INFO
 
struct  _CERT_TRUST_STATUS
 
struct  _CERT_CHAIN_ELEMENT
 
struct  _CERT_SIMPLE_CHAIN
 
struct  _CERT_CHAIN_CONTEXT
 
struct  _CERT_CHAIN_POLICY_PARA
 
struct  _CERT_CHAIN_POLICY_STATUS
 
struct  _AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA
 
struct  _AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS
 
struct  _AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA
 
struct  _HTTPSPolicyCallbackData
 
struct  _CERT_USAGE_MATCH
 
struct  _CTL_USAGE_MATCH
 
struct  _CERT_CHAIN_PARA
 
struct  _CERT_SYSTEM_STORE_INFO
 
struct  _CERT_PHYSICAL_STORE_INFO
 
struct  _CERT_SYSTEM_STORE_RELOCATE_PARA
 
struct  _CRYPT_ENCODE_PARA
 
struct  _CRYPT_DECODE_PARA
 
struct  _CERT_STORE_PROV_INFO
 
struct  _CERT_STORE_PROV_FIND_INFO
 
struct  _CERT_CREATE_CONTEXT_PARA
 
struct  _CRYPT_OID_FUNC_ENTRY
 
struct  _CRYPT_OID_INFO
 
struct  _CRYPT_SIGN_MESSAGE_PARA
 
struct  _CRYPT_VERIFY_MESSAGE_PARA
 
struct  _CRYPT_ENCRYPT_MESSAGE_PARA
 
struct  _CRYPT_DECRYPT_MESSAGE_PARA
 
struct  _CRYPT_HASH_MESSAGE_PARA
 
struct  _CRYPT_KEY_SIGN_MESSAGE_PARA
 
struct  _CRYPT_KEY_VERIFY_MESSAGE_PARA
 
struct  _CRYPT_URL_ARRAY
 
struct  _CRYPT_URL_INFO
 
struct  _CRYPT_ASYNC_RETRIEVAL_COMPLETION
 
struct  _CRYPT_BLOB_ARRAY
 
struct  _CRYPT_CREDENTIALS
 
struct  _CRYPT_PASSWORD_CREDENTIALSA
 
struct  _CRYPT_PASSWORD_CREDENTIALSW
 
struct  _CRYPT_RETRIEVE_AUX_INFO
 
struct  _CERT_CRL_CONTEXT_PAIR
 
struct  _CRL_FIND_ISSUED_FOR_PARA
 
struct  _CTL_FIND_USAGE_PARA
 
struct  _CTL_FIND_SUBJECT_PARA
 
struct  _CERT_CHAIN_ENGINE_CONFIG
 
struct  _CMSG_STREAM_INFO
 
struct  _CERT_ISSUER_SERIAL_NUMBER
 
struct  _CERT_ID
 
struct  _CMSG_SIGNER_ENCODE_INFO
 
struct  _CMSG_SIGNED_ENCODE_INFO
 
struct  _CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO
 
struct  _CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO
 
struct  _CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO
 
struct  _CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO
 
struct  _CMSG_RECIPIENT_ENCODE_INFO
 
struct  _CMSG_ENVELOPED_ENCODE_INFO
 
struct  _CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO
 
struct  _CMSG_HASHED_ENCODE_INFO
 
struct  _CMSG_ENCRYPTED_ENCODE_INFO
 
struct  _CMSG_CTRL_DECRYPT_PARA
 
struct  _CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA
 
struct  _CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA
 
struct  _CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA
 
struct  _CMSG_CMS_SIGNER_INFO
 
struct  _CMSG_KEY_TRANS_RECIPIENT_INFO
 
struct  _CMSG_RECIPIENT_ENCRYPTED_KEY_INFO
 
struct  _CMSG_KEY_AGREE_RECIPIENT_INFO
 
struct  _CMSG_MAIL_LIST_RECIPIENT_INFO
 
struct  _CMSG_CMS_RECIPIENT_INFO
 
struct  _CMSG_CONTENT_ENCRYPT_INFO
 
struct  _CMSG_KEY_TRANS_ENCRYPT_INFO
 
struct  _CMSG_CTRL_KEY_TRANS_DECRYPT_PARA
 
struct  _CERT_STRONG_SIGN_SERIALIZED_INFO
 
struct  _CERT_STRONG_SIGN_PARA
 

Macros

#define WINADVAPI   DECLSPEC_IMPORT
 
#define SCHANNEL_MAC_KEY   0
 
#define SCHANNEL_ENC_KEY   1
 
#define CRYPT_IPSEC_HMAC_KEY   0x0100
 
#define CERT_DIGITAL_SIGNATURE_KEY_USAGE   0x80
 
#define CERT_NON_REPUDIATION_KEY_USAGE   0x40
 
#define CERT_KEY_ENCIPHERMENT_KEY_USAGE   0x20
 
#define CERT_DATA_ENCIPHERMENT_KEY_USAGE   0x10
 
#define CERT_KEY_AGREEMENT_KEY_USAGE   0x08
 
#define CERT_KEY_CERT_SIGN_KEY_USAGE   0x04
 
#define CERT_OFFLINE_CRL_SIGN_KEY_USAGE   0x02
 
#define CERT_CRL_SIGN_KEY_USAGE   0x02
 
#define CERT_ENCIPHER_ONLY_KEY_USAGE   0x01
 
#define CERT_DECIPHER_ONLY_KEY_USAGE   0x80
 
#define CERT_ALT_NAME_OTHER_NAME   1
 
#define CERT_ALT_NAME_RFC822_NAME   2
 
#define CERT_ALT_NAME_DNS_NAME   3
 
#define CERT_ALT_NAME_X400_ADDRESS   4
 
#define CERT_ALT_NAME_DIRECTORY_NAME   5
 
#define CERT_ALT_NAME_EDI_PARTY_NAME   6
 
#define CERT_ALT_NAME_URL   7
 
#define CERT_ALT_NAME_IP_ADDRESS   8
 
#define CERT_ALT_NAME_REGISTERED_ID   9
 
#define CERT_ALT_NAME_ENTRY_ERR_INDEX_MASK   0xff
 
#define CERT_ALT_NAME_ENTRY_ERR_INDEX_SHIFT   16
 
#define CERT_ALT_NAME_VALUE_ERR_INDEX_MASK   0x0000ffff
 
#define CERT_ALT_NAME_VALUE_ERR_INDEX_SHIFT   0
 
#define GET_CERT_ALT_NAME_ENTRY_ERR_INDEX(x)
 
#define GET_CERT_ALT_NAME_VALUE_ERR_INDEX(x)   ((x) & CERT_ALT_NAME_VALUE_ERR_INDEX_MASK)
 
#define CERT_CA_SUBJECT_FLAG   0x80
 
#define CERT_END_ENTITY_SUBJECT_FLAG   0x40
 
#define CRL_DIST_POINT_NO_NAME   0
 
#define CRL_DIST_POINT_FULL_NAME   1
 
#define CRL_DIST_POINT_ISSUER_RDN_NAME   2
 
#define CRL_REASON_UNUSED_FLAG   0x80
 
#define CRL_REASON_KEY_COMPROMISE_FLAG   0x40
 
#define CRL_REASON_CA_COMPROMISE_FLAG   0x20
 
#define CRL_REASON_AFFILIATION_CHANGED_FLAG   0x10
 
#define CRL_REASON_SUPERSEDED_FLAG   0x08
 
#define CRL_REASON_CESSATION_OF_OPERATION_FLAG   0x04
 
#define CRL_REASON_CERTIFICATE_HOLD_FLAG   0x02
 
#define CRL_DIST_POINT_ERR_INDEX_MASK   0x7f
 
#define CRL_DIST_POINT_ERR_INDEX_SHIFT   24
 
#define GET_CRL_DIST_POINT_ERR_INDEX(x)   (((x) >> CRL_DIST_POINT_ERR_INDEX_SHIFT) & CRL_DIST_POINT_ERR_INDEX_MASK)
 
#define CRL_DIST_POINT_ERR_CRL_ISSUER_BIT   0x80000000L
 
#define IS_CRL_DIST_POINT_ERR_CRL_ISSUER(x)   ((x) & CRL_DIST_POINT_ERR_CRL_ISSUER_BIT)
 
#define CROSS_CERT_DIST_POINT_ERR_INDEX_MASK   0xff
 
#define CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT   24
 
#define GET_CROSS_CERT_DIST_POINT_ERR_INDEX(x)
 
#define CERT_EXCLUDED_SUBTREE_BIT   0x80000000L
 
#define IS_CERT_EXCLUDED_SUBTREE(x)   ((x) & CERT_EXCLUDED_SUBTREE_BIT)
 
#define SORTED_CTL_EXT_FLAGS_OFFSET   (0*4)
 
#define SORTED_CTL_EXT_COUNT_OFFSET   (1*4)
 
#define SORTED_CTL_EXT_MAX_COLLISION_OFFSET   (2*4)
 
#define SORTED_CTL_EXT_HASH_BUCKET_OFFSET   (3*4)
 
#define SORTED_CTL_EXT_HASHED_SUBJECT_IDENTIFIER_FLAG   0x1
 
#define CERT_DSS_R_LEN   20
 
#define CERT_DSS_S_LEN   20
 
#define CERT_DSS_SIGNATURE_LEN   (CERT_DSS_R_LEN + CERT_DSS_S_LEN)
 
#define CERT_MAX_ENCODED_DSS_SIGNATURE_LEN   (2 + 2*(2 + 20 +1))
 
#define CRYPT_X942_COUNTER_BYTE_LENGTH   4
 
#define CRYPT_X942_KEY_LENGTH_BYTE_LENGTH   4
 
#define CRYPT_X942_PUB_INFO_BYTE_LENGTH   (512/8)
 
#define CRYPT_RC2_40BIT_VERSION   160
 
#define CRYPT_RC2_56BIT_VERSION   52
 
#define CRYPT_RC2_64BIT_VERSION   120
 
#define CRYPT_RC2_128BIT_VERSION   58
 
#define CMSG_VERIFY_SIGNER_PUBKEY   1
 
#define CMSG_VERIFY_SIGNER_CERT   2
 
#define CMSG_VERIFY_SIGNER_CHAIN   3
 
#define CMSG_VERIFY_SIGNER_NULL   4
 
#define CERT_CONTEXT_REVOCATION_TYPE   1
 
#define CERT_VERIFY_REV_CHAIN_FLAG   0x00000001
 
#define CERT_VERIFY_CACHE_ONLY_BASED_REVOCATION   0x00000002
 
#define CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG   0x00000004
 
#define CERT_VERIFY_INHIBIT_CTL_UPDATE_FLAG   0x1
 
#define CERT_VERIFY_TRUSTED_SIGNERS_FLAG   0x2
 
#define CERT_VERIFY_NO_TIME_CHECK_FLAG   0x4
 
#define CERT_VERIFY_ALLOW_MORE_USAGE_FLAG   0x8
 
#define CERT_VERIFY_UPDATED_CTL_FLAG   0x1
 
#define CERT_TRUST_NO_ERROR   0x00000000
 
#define CERT_TRUST_IS_NOT_TIME_VALID   0x00000001
 
#define CERT_TRUST_IS_NOT_TIME_NESTED   0x00000002
 
#define CERT_TRUST_IS_REVOKED   0x00000004
 
#define CERT_TRUST_IS_NOT_SIGNATURE_VALID   0x00000008
 
#define CERT_TRUST_IS_NOT_VALID_FOR_USAGE   0x00000010
 
#define CERT_TRUST_IS_UNTRUSTED_ROOT   0x00000020
 
#define CERT_TRUST_REVOCATION_STATUS_UNKNOWN   0x00000040
 
#define CERT_TRUST_IS_CYCLIC   0x00000080
 
#define CERT_TRUST_INVALID_EXTENSION   0x00000100
 
#define CERT_TRUST_INVALID_POLICY_CONSTRAINTS   0x00000200
 
#define CERT_TRUST_INVALID_BASIC_CONSTRAINTS   0x00000400
 
#define CERT_TRUST_INVALID_NAME_CONSTRAINTS   0x00000800
 
#define CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT   0x00001000
 
#define CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT   0x00002000
 
#define CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT   0x00004000
 
#define CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT   0x00008000
 
#define CERT_TRUST_IS_OFFLINE_REVOCATION   0x01000000
 
#define CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY   0x02000000
 
#define CERT_TRUST_IS_EXPLICIT_DISTRUST   0x04000000
 
#define CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT   0x08000000
 
#define CERT_TRUST_IS_PARTIAL_CHAIN   0x00010000
 
#define CERT_TRUST_CTL_IS_NOT_TIME_VALID   0x00020000
 
#define CERT_TRUST_CTL_IS_NOT_SIGNATURE_VALID   0x00040000
 
#define CERT_TRUST_CTL_IS_NOT_VALID_FOR_USAGE   0x00080000
 
#define CERT_TRUST_HAS_EXACT_MATCH_ISSUER   0x00000001
 
#define CERT_TRUST_HAS_KEY_MATCH_ISSUER   0x00000002
 
#define CERT_TRUST_HAS_NAME_MATCH_ISSUER   0x00000004
 
#define CERT_TRUST_IS_SELF_SIGNED   0x00000008
 
#define CERT_TRUST_HAS_PREFERRED_ISSUER   0x00000100
 
#define CERT_TRUST_HAS_ISSUANCE_CHAIN_POLICY   0x00000200
 
#define CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS   0x00000400
 
#define CERT_TRUST_IS_PEER_TRUSTED   0x00000800
 
#define CERT_TRUST_HAS_CRL_VALIDITY_EXTENDED   0x00001000
 
#define CERT_TRUST_IS_COMPLEX_CHAIN   0x00010000
 
#define CERT_CHAIN_POLICY_BASE   ((LPCSTR)1)
 
#define CERT_CHAIN_POLICY_AUTHENTICODE   ((LPCSTR)2)
 
#define CERT_CHAIN_POLICY_AUTHENTICODE_TS   ((LPCSTR)3)
 
#define CERT_CHAIN_POLICY_SSL   ((LPCSTR)4)
 
#define CERT_CHAIN_POLICY_BASIC_CONSTRAINTS   ((LPCSTR)5)
 
#define CERT_CHAIN_POLICY_NT_AUTH   ((LPCSTR)6)
 
#define CERT_CHAIN_POLICY_MICROSOFT_ROOT   ((LPCSTR)7)
 
#define CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG   0x00000001
 
#define CERT_CHAIN_POLICY_IGNORE_CTL_NOT_TIME_VALID_FLAG   0x00000002
 
#define CERT_CHAIN_POLICY_IGNORE_NOT_TIME_NESTED_FLAG   0x00000004
 
#define CERT_CHAIN_POLICY_IGNORE_INVALID_BASIC_CONSTRAINTS_FLAG   0x00000008
 
#define CERT_CHAIN_POLICY_IGNORE_ALL_NOT_TIME_VALID_FLAGS
 
#define CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG   0x00000010
 
#define CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG   0x00000020
 
#define CERT_CHAIN_POLICY_IGNORE_INVALID_NAME_FLAG   0x00000040
 
#define CERT_CHAIN_POLICY_IGNORE_INVALID_POLICY_FLAG   0x00000080
 
#define CERT_CHAIN_POLICY_IGNORE_END_REV_UNKNOWN_FLAG   0x00000100
 
#define CERT_CHAIN_POLICY_IGNORE_CTL_SIGNER_REV_UNKNOWN_FLAG   0x00000200
 
#define CERT_CHAIN_POLICY_IGNORE_CA_REV_UNKNOWN_FLAG   0x00000400
 
#define CERT_CHAIN_POLICY_IGNORE_ROOT_REV_UNKNOWN_FLAG   0x00000800
 
#define CERT_CHAIN_POLICY_IGNORE_ALL_REV_UNKNOWN_FLAGS
 
#define CERT_CHAIN_POLICY_IGNORE_PEER_TRUST_FLAG   0x00001000
 
#define CERT_CHAIN_POLICY_IGNORE_NOT_SUPPORTED_CRITICAL_EXT_FLAG   0x00002000
 
#define CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG   0x00004000
 
#define CERT_CHAIN_POLICY_ALLOW_TESTROOT_FLAG   0x00008000
 
#define MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG   0x00010000
 
#define AUTHTYPE_CLIENT   1
 
#define AUTHTYPE_SERVER   2
 
#define BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_CA_FLAG   0x80000000
 
#define BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_END_ENTITY_FLAG   0x40000000
 
#define MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG   0x00010000
 
#define USAGE_MATCH_TYPE_AND   0x00000000
 
#define USAGE_MATCH_TYPE_OR   0x00000001
 
#define CERT_CHAIN_REVOCATION_CHECK_END_CERT   0x10000000
 
#define CERT_CHAIN_REVOCATION_CHECK_CHAIN   0x20000000
 
#define CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT   0x40000000
 
#define CERT_CHAIN_REVOCATION_CHECK_CACHE_ONLY   0x80000000
 
#define CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT   0x08000000
 
#define CERT_CHAIN_DISABLE_PASS1_QUALITY_FILTERING   0x00000040
 
#define CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS   0x00000080
 
#define CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE   0x00000100
 
#define CERT_CHAIN_TIMESTAMP_TIME   0x00000200
 
#define CRYPT_MATCH_ANY_ENCODING_TYPE   0xffffffff
 
#define CALG_OID_INFO_CNG_ONLY   0xffffffff
 
#define CALG_OID_INFO_PARAMETERS   0xfffffffe
 
#define CRYPT_MESSAGE_BARE_CONTENT_OUT_FLAG   0x00000001
 
#define CRYPT_MESSAGE_ENCAPSULATED_CONTENT_OUT_FLAG   0x00000002
 
#define CRYPT_MESSAGE_KEYID_SIGNER_FLAG   0x00000004
 
#define CRYPT_MESSAGE_SILENT_KEYSET_FLAG   0x00000008
 
#define CRYPT_MESSAGE_KEYID_RECIPIENT_FLAG   0x00000004
 
#define URL_OID_CERTIFICATE_ISSUER   ((LPCSTR)1)
 
#define URL_OID_CERTIFICATE_CRL_DIST_POINT   ((LPCSTR)2)
 
#define URL_OID_CTL_ISSUER   ((LPCSTR)3)
 
#define URL_OID_CTL_NEXT_UPDATE   ((LPCSTR)4)
 
#define URL_OID_CRL_ISSUER   ((LPCSTR)5)
 
#define URL_OID_CERTIFICATE_FRESHEST_CRL   ((LPCSTR)6)
 
#define URL_OID_CRL_FRESHEST_CRL   ((LPCSTR)7)
 
#define URL_OID_CROSS_CERT_DIST_POINT   ((LPCSTR)8)
 
#define URL_OID_CERTIFICATE_OCSP   ((LPCSTR)9)
 
#define URL_OID_CERTIFICATE_OCSP_AND_CRL_DIST_POINT   ((LPCSTR)10)
 
#define URL_OID_CERTIFICATE_CRL_DIST_POINT_AND_OCSP   ((LPCSTR)11)
 
#define URL_OID_CROSS_CERT_SUBJECT_INFO_ACCESS   ((LPCSTR)12)
 
#define URL_OID_GET_OBJECT_URL_FUNC   "UrlDllGetObjectUrl"
 
#define CRYPT_PARAM_ASYNC_RETRIEVAL_COMPLETION   ((LPCSTR)1)
 
#define CRYPT_PARAM_CANCEL_ASYNC_RETRIEVAL   ((LPCSTR)2)
 
#define CREDENTIAL_OID_PASSWORD_CREDENTIALS_A   ((LPCSTR)1)
 
#define CREDENTIAL_OID_PASSWORD_CREDENTIALS_W   ((LPCSTR)2)
 
#define CREDENTIAL_OID_PASSWORD_CREDENTIALS   WINELIB_NAME_AW(CREDENTIAL_OID_PASSWORD_CREDENTIALS_)
 
#define CRYPT_PASSWORD_CREDENTIALS   WINELIB_NAME_AW(CRYPT_PASSWORD_CREDENTIALS)
 
#define PCRYPT_PASSWORD_CREDENTIALS   WINELIB_NAME_AW(PCRYPT_PASSWORD_CREDENTIALS)
 
#define SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC   "SchemeDllRetrieveEncodedObject"
 
#define SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC   "SchemeDllRetrieveEncodedObjectW"
 
#define CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC   "ContextDllCreateObjectContext"
 
#define CONTEXT_OID_CERTIFICATE   ((LPCSTR)1)
 
#define CONTEXT_OID_CRL   ((LPCSTR)2)
 
#define CONTEXT_OID_CTL   ((LPCSTR)3)
 
#define CONTEXT_OID_PKCS7   ((LPCSTR)4)
 
#define CONTEXT_OID_CAPI2_ANY   ((LPCSTR)5)
 
#define CRYPT_RETRIEVE_MULTIPLE_OBJECTS   0x00000001
 
#define CRYPT_CACHE_ONLY_RETRIEVAL   0x00000002
 
#define CRYPT_WIRE_ONLY_RETRIEVAL   0x00000004
 
#define CRYPT_DONT_CACHE_RESULT   0x00000008
 
#define CRYPT_ASYNC_RETRIEVAL   0x00000010
 
#define CRYPT_STICKY_CACHE_RETRIEVAL   0x00001000
 
#define CRYPT_LDAP_SCOPE_BASE_ONLY_RETRIEVAL   0x00002000
 
#define CRYPT_OFFLINE_CHECK_RETRIEVAL   0x00004000
 
#define CRYPT_LDAP_INSERT_ENTRY_ATTRIBUTE   0x00008000
 
#define CRYPT_LDAP_SIGN_RETRIEVAL   0x00010000
 
#define CRYPT_NO_AUTH_RETRIEVAL   0x00020000
 
#define CRYPT_LDAP_AREC_EXCLUSIVE_RETRIEVAL   0x00040000
 
#define CRYPT_AIA_RETRIEVAL   0x00080000
 
#define CRYPT_VERIFY_CONTEXT_SIGNATURE   0x00000020
 
#define CRYPT_VERIFY_DATA_HASH   0x00000040
 
#define CRYPT_KEEP_TIME_VALID   0x00000080
 
#define CRYPT_DONT_VERIFY_SIGNATURE   0x00000100
 
#define CRYPT_DONT_CHECK_TIME_VALIDITY   0x00000200
 
#define CRYPT_CHECK_FRESHNESS_TIME_VALIDITY   0x00000400
 
#define CRYPT_ACCUMULATIVE_TIMEOUT   0x00000800
 
#define TIME_VALID_OID_GET_OBJECT_FUNC   "TimeValidDllGetObject"
 
#define TIME_VALID_OID_GET_CTL   ((LPCSTR)1)
 
#define TIME_VALID_OID_GET_CRL   ((LPCSTR)2)
 
#define TIME_VALID_OID_GET_CRL_FROM_CERT   ((LPCSTR)3)
 
#define TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CERT   ((LPCSTR)4)
 
#define TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CRL   ((LPCSTR)5)
 
#define TIME_VALID_OID_FLUSH_OBJECT_FUNC   "TimeValidDllFlushObject"
 
#define TIME_VALID_OID_FLUSH_CTL   ((LPCSTR)1)
 
#define TIME_VALID_OID_FLUSH_CRL   ((LPCSTR)2)
 
#define TIME_VALID_OID_FLUSH_CRL_FROM_CERT   ((LPCSTR)3)
 
#define TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CERT   ((LPCSTR)4)
 
#define TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CRL   ((LPCSTR)5)
 
#define CRYPT_HASH_ALG_OID_GROUP_ID   1
 
#define CRYPT_ENCRYPT_ALG_OID_GROUP_ID   2
 
#define CRYPT_PUBKEY_ALG_OID_GROUP_ID   3
 
#define CRYPT_SIGN_ALG_OID_GROUP_ID   4
 
#define CRYPT_RDN_ATTR_OID_GROUP_ID   5
 
#define CRYPT_EXT_OR_ATTR_OID_GROUP_ID   6
 
#define CRYPT_ENHKEY_USAGE_OID_GROUP_ID   7
 
#define CRYPT_POLICY_OID_GROUP_ID   8
 
#define CRYPT_TEMPLATE_OID_GROUP_ID   9
 
#define CRYPT_LAST_OID_GROUP_ID   9
 
#define CRYPT_FIRST_ALG_OID_GROUP_ID   CRYPT_HASH_ALG_OID_GROUP_ID
 
#define CRYPT_LAST_ALG_OID_GROUP_ID   CRYPT_SIGN_ALG_OID_GROUP_ID
 
#define CRYPT_OID_INHIBIT_SIGNATURE_FORMAT_FLAG   0x1
 
#define CRYPT_OID_USE_PUBKEY_PARA_FOR_PKCS7_FLAG   0x2
 
#define CRYPT_OID_NO_NULL_ALGORITHM_PARA_FLAG   0x4
 
#define CRYPT_OID_INFO_OID_KEY   1
 
#define CRYPT_OID_INFO_NAME_KEY   2
 
#define CRYPT_OID_INFO_ALGID_KEY   3
 
#define CRYPT_OID_INFO_SIGN_KEY   4
 
#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_TYPE_DH_EPHEM   (7 << 9) /* FIXME: find the real TYPE name */
 
#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_ECDSA   3
 
#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 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_ECDH_EPHEM   6 /* FIXME: find the real SID name */
 
#define ALG_SID_RC4   1
 
#define ALG_SID_RC2   2
 
#define ALG_SID_SEAL   2
 
#define ALG_SID_MD2   1
 
#define ALG_SID_MD4   2
 
#define ALG_SID_MD5   3
 
#define ALG_SID_SHA   4
 
#define ALG_SID_SHA1   ALG_SID_SHA
 
#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_EXAMPLE   80
 
#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   CALG_SHA
 
#define CALG_MAC   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MAC)
 
#define CALG_SSL3_SHAMD5   (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SSL3SHAMD5)
 
#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_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_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_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_RSA_KEYX   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_RSA | ALG_SID_RSA_ANY)
 
#define CALG_ECDH   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_ECDH)
 
#define CALG_ECDH_EPHEM   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH_EPHEM | ALG_SID_ECDH_EPHEM) /* FIXME: find the original TYPE and SID names */
 
#define CALG_ECMQV   (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_ECMQV)
 
#define CALG_DES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DES)
 
#define CALG_RC2   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_RC2)
 
#define CALG_3DES   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES)
 
#define CALG_3DES_112   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES_112)
 
#define CALG_DESX   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DESX)
 
#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_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_RC5   (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_RC5)
 
#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_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_ECDSA   (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_ECDSA)
 
#define CRYPT_FLAG_PCT1   0x0001
 
#define CRYPT_FLAG_SSL2   0x0002
 
#define CRYPT_FLAG_SSL3   0x0004
 
#define CRYPT_FLAG_TLS1   0x0008
 
#define CRYPT_FLAG_IPSEC   0x0010
 
#define CRYPT_FLAG_SIGNING   0x0020
 
#define MS_DEF_PROV_A   "Microsoft Base Cryptographic Provider v1.0"
 
#define MS_DEF_PROV   WINELIB_NAME_AW(MS_DEF_PROV_)
 
#define MS_ENHANCED_PROV_A   "Microsoft Enhanced Cryptographic Provider v1.0"
 
#define MS_ENHANCED_PROV   WINELIB_NAME_AW(MS_ENHANCED_PROV_)
 
#define MS_STRONG_PROV_A   "Microsoft Strong Cryptographic Provider"
 
#define MS_STRONG_PROV   WINELIB_NAME_AW(MS_STRONG_PROV_)
 
#define MS_DEF_RSA_SIG_PROV_A   "Microsoft RSA Signature Cryptographic Provider"
 
#define MS_DEF_RSA_SIG_PROV   WINELIB_NAME_AW(MS_DEF_RSA_SIG_PROV_)
 
#define MS_DEF_RSA_SCHANNEL_PROV_A   "Microsoft RSA SChannel Cryptographic Provider"
 
#define MS_DEF_RSA_SCHANNEL_PROV   WINELIB_NAME_AW(MS_DEF_RSA_SCHANNEL_PROV_)
 
#define MS_DEF_DSS_PROV_A   "Microsoft Base DSS Cryptographic Provider"
 
#define MS_DEF_DSS_PROV   WINELIB_NAME_AW(MS_DEF_DSS_PROV_)
 
#define MS_DEF_DSS_DH_PROV_A   "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"
 
#define MS_DEF_DSS_DH_PROV   WINELIB_NAME_AW(MS_DEF_DSS_DH_PROV_)
 
#define MS_ENH_DSS_DH_PROV_A   "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"
 
#define MS_ENH_DSS_DH_PROV   WINELIB_NAME_AW(MS_ENH_DSS_DH_PROV_)
 
#define MS_DEF_DH_SCHANNEL_PROV_A   "Microsoft DH SChannel Cryptographic Provider"
 
#define MS_DEF_DH_SCHANNEL_PROV   WINELIB_NAME_AW(MS_DEF_DH_SCHANNEL_PROV_)
 
#define MS_SCARD_PROV_A   "Microsoft Base Smart Card Cryptographic Provider"
 
#define MS_SCARD_PROV   WINELIB_NAME_AW(MS_SCARD_PROV_)
 
#define MS_ENH_RSA_AES_PROV_A   "Microsoft Enhanced RSA and AES Cryptographic Provider"
 
#define MS_ENH_RSA_AES_PROV   WINELIB_NAME_AW(MS_ENH_RSA_AES_PROV_)
 
#define MS_ENH_RSA_AES_PROV_XP_A   "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"
 
#define MS_ENH_RSA_AES_PROV_XP   WINELIB_NAME_AW(MS_ENH_RSA_AES_PROV_XP_)
 
#define AT_KEYEXCHANGE   1
 
#define AT_SIGNATURE   2
 
#define PROV_RSA_FULL   1
 
#define PROV_RSA_SIG   2
 
#define PROV_DSS   3
 
#define PROV_FORTEZZA   4
 
#define PROV_MS_EXCHANGE   5
 
#define PROV_SSL   6
 
#define PROV_RSA_SCHANNEL   12
 
#define PROV_DSS_DH   13
 
#define PROV_EC_ECDSA_SIG   14
 
#define PROV_EC_ECNRA_SIG   15
 
#define PROV_EC_ECDSA_FULL   16
 
#define PROV_EC_ECNRA_FULL   17
 
#define PROV_DH_SCHANNEL   18
 
#define PROV_SPYRUS_LYNKS   20
 
#define PROV_RNG   21
 
#define PROV_INTEL_SEC   22
 
#define PROV_REPLACE_OWF   23
 
#define PROV_RSA_AES   24
 
#define CRYPT_FIRST   1
 
#define CRYPT_NEXT   2
 
#define CRYPT_IMPL_HARDWARE   1
 
#define CRYPT_IMPL_SOFTWARE   2
 
#define CRYPT_IMPL_MIXED   3
 
#define CRYPT_IMPL_UNKNOWN   4
 
#define CRYPT_VERIFYCONTEXT   0xF0000000
 
#define CRYPT_NEWKEYSET   0x00000008
 
#define CRYPT_DELETEKEYSET   0x00000010
 
#define CRYPT_MACHINE_KEYSET   0x00000020
 
#define CRYPT_SILENT   0x00000040
 
#define CRYPT_MACHINE_DEFAULT   0x00000001
 
#define CRYPT_USER_DEFAULT   0x00000002
 
#define CRYPT_DELETE_DEFAULT   0x00000004
 
#define PP_CLIENT_HWND   1
 
#define PP_ENUMALGS   1
 
#define PP_ENUMCONTAINERS   2
 
#define PP_IMPTYPE   3
 
#define PP_NAME   4
 
#define PP_VERSION   5
 
#define PP_CONTAINER   6
 
#define PP_CHANGE_PASSWORD   7
 
#define PP_KEYSET_SEC_DESCR   8
 
#define PP_KEY_TYPE_SUBTYPE   10
 
#define PP_CONTEXT_INFO   11
 
#define PP_KEYEXCHANGE_KEYSIZE   12
 
#define PP_SIGNATURE_KEYSIZE   13
 
#define PP_KEYEXCHANGE_ALG   14
 
#define PP_SIGNATURE_ALG   15
 
#define PP_PROVTYPE   16
 
#define PP_KEYSTORAGE   17
 
#define PP_SYM_KEYSIZE   19
 
#define PP_SESSION_KEYSIZE   20
 
#define PP_UI_PROMPT   21
 
#define PP_ENUMALGS_EX   22
 
#define PP_DELETEKEY   24
 
#define PP_ENUMMANDROOTS   25
 
#define PP_ENUMELECTROOTS   26
 
#define PP_KEYSET_TYPE   27
 
#define PP_ADMIN_PIN   31
 
#define PP_KEYEXCHANGE_PIN   32
 
#define PP_SIGNATURE_PIN   33
 
#define PP_SIG_KEYSIZE_INC   34
 
#define PP_KEYX_KEYSIZE_INC   35
 
#define PP_UNIQUE_CONTAINER   36
 
#define PP_SGC_INFO   37
 
#define PP_USE_HARDWARE_RNG   38
 
#define PP_KEYSPEC   39
 
#define PP_ENUMEX_SIGNING_PROT   40
 
#define PP_CRYPT_COUNT_KEY_USE   41
 
#define PP_USER_CERTSTORE   42
 
#define PP_SMARTCARD_READER   43
 
#define PP_SMARTCARD_GUID   45
 
#define PP_ROOT_CERTSTORE   46
 
#define CRYPT_SEC_DESCR   0x00000001
 
#define CRYPT_PSTORE   0x00000002
 
#define CRYPT_UI_PROMPT   0x00000004
 
#define KP_IV   1
 
#define KP_SALT   2
 
#define KP_PADDING   3
 
#define KP_MODE   4
 
#define KP_MODE_BITS   5
 
#define KP_PERMISSIONS   6
 
#define KP_ALGID   7
 
#define KP_BLOCKLEN   8
 
#define KP_KEYLEN   9
 
#define KP_SALT_EX   10
 
#define KP_P   11
 
#define KP_G   12
 
#define KP_Q   13
 
#define KP_X   14
 
#define KP_Y   15
 
#define KP_RA   16
 
#define KP_RB   17
 
#define KP_INFO   18
 
#define KP_EFFECTIVE_KEYLEN   19
 
#define KP_SCHANNEL_ALG   20
 
#define KP_CLIENT_RANDOM   21
 
#define KP_SERVER_RANDOM   22
 
#define KP_RP   23
 
#define KP_PRECOMP_MD5   24
 
#define KP_PRECOMP_SHA   25
 
#define KP_CERTIFICATE   26
 
#define KP_CLEAR_KEY   27
 
#define KP_PUB_EX_LEN   28
 
#define KP_PUB_EX_VAL   29
 
#define KP_KEYVAL   30
 
#define KP_ADMIN_PIN   31
 
#define KP_KEYEXCHANGE_PIN   32
 
#define KP_SIGNATURE_PIN   33
 
#define KP_PREHASH   34
 
#define KP_ROUNDS   35
 
#define KP_OAEP_PARAMS   36
 
#define KP_CMS_KEY_INFO   37
 
#define KP_CMS_DH_KEY_INFO   38
 
#define KP_PUB_PARAMS   39
 
#define KP_VERIFY_PARAMS   40
 
#define KP_HIGHEST_VERSION   41
 
#define KP_GET_USE_COUNT   42
 
#define PKCS5_PADDING   1
 
#define RANDOM_PADDING   2
 
#define ZERO_PADDING   3
 
#define CRYPT_NOHASHOID   0x00000001
 
#define CRYPT_TYPE2_FORMAT   0x00000002
 
#define CRYPT_X931_FORMAT   0x00000004
 
#define HP_ALGID   0x0001
 
#define HP_HASHVAL   0x0002
 
#define HP_HASHSIZE   0x0004
 
#define HP_HMAC_INFO   0x0005
 
#define HP_TLS1PRF_LABEL   0x0006
 
#define HP_TLS1PRF_SEED   0x0007
 
#define CRYPT_MODE_CBC   1
 
#define CRYPT_MODE_ECB   2
 
#define CRYPT_MODE_OFB   3
 
#define CRYPT_MODE_CFB   4
 
#define CRYPT_ENCRYPT   0x0001
 
#define CRYPT_DECRYPT   0x0002
 
#define CRYPT_EXPORT   0x0004
 
#define CRYPT_READ   0x0008
 
#define CRYPT_WRITE   0x0010
 
#define CRYPT_MAC   0x0020
 
#define CRYPT_EXPORT_KEY   0x0040
 
#define CRYPT_IMPORT_KEY   0x0080
 
#define CRYPT_ARCHIVE   0x0100
 
#define CRYPT_EXPORTABLE   0x00000001
 
#define CRYPT_USER_PROTECTED   0x00000002
 
#define CRYPT_CREATE_SALT   0x00000004
 
#define CRYPT_UPDATE_KEY   0x00000008
 
#define CRYPT_NO_SALT   0x00000010
 
#define CRYPT_PREGEN   0x00000040
 
#define CRYPT_SERVER   0x00000400
 
#define CRYPT_ARCHIVABLE   0x00004000
 
#define CRYPT_SSL2_FALLBACK   0x00000002
 
#define CRYPT_DESTROYKEY   0x00000004
 
#define CRYPT_OAEP   0x00000040
 
#define CRYPT_LITTLE_ENDIAN   0x00000001
 
#define CRYPTPROTECT_PROMPT_ON_PROTECT   0x0001
 
#define CRYPTPROTECT_PROMPT_ON_UNPROTECT   0x0002
 
#define CRYPTPROTECT_UI_FORBIDDEN   0x0001
 
#define CRYPTPROTECT_LOCAL_MACHINE   0x0004
 
#define CRYPTPROTECT_AUDIT   0x0010
 
#define CRYPTPROTECT_VERIFY_PROTECTION   0x0040
 
#define CRYPTPROTECTMEMORY_BLOCK_SIZE   16
 
#define CRYPTPROTECTMEMORY_SAME_PROCESS   0x0000
 
#define CRYPTPROTECTMEMORY_CROSS_PROCESS   0x0001
 
#define CRYPTPROTECTMEMORY_SAME_LOGON   0x0002
 
#define SIMPLEBLOB   0x1
 
#define PUBLICKEYBLOB   0x6
 
#define PRIVATEKEYBLOB   0x7
 
#define PLAINTEXTKEYBLOB   0x8
 
#define OPAQUEKEYBLOB   0x9
 
#define PUBLICKEYBLOBEX   0xA
 
#define SYMMETRICWRAPKEYBLOB   0xB
 
#define CUR_BLOB_VERSION   2
 
#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_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 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_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_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_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 CERT_PROT_ROOT_DISABLE_CURRENT_USER_FLAG   0x01
 
#define CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG   0x02
 
#define CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG   0x04
 
#define CERT_PROT_ROOT_DISABLE_LM_AUTH_FLAG   0x08
 
#define CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG   0x10
 
#define CERT_PROT_ROOT_DISABLE_NOT_DEFINED_NAME_CONSTRAINT_FLAG   0x20
 
#define CERT_TRUST_PUB_ALLOW_END_USER_TRUST   0x00000000
 
#define CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST   0x00000001
 
#define CERT_TRUST_PUB_ALLOW_ENTERPRISE_ADMIN_TRUST   0x00000002
 
#define CERT_TRUST_PUB_ALLOW_TRUST_MASK   0x00000003
 
#define CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG   0x00000100
 
#define CERT_TRUST_PUB_CHECK_TIMESTAMP_REV_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_MAXIMUM_ALLOWED_FLAG   0x00001000
 
#define CERT_STORE_CREATE_NEW_FLAG   0x00002000
 
#define CERT_STORE_OPEN_EXISTING_FLAG   0x00004000
 
#define CERT_STORE_READONLY_FLAG   0x00008000
 
#define CERT_REGISTRY_STORE_REMOTE_FLAG   0x00010000
 
#define CERT_REGISTRY_STORE_SERIALIZED_FLAG   0x00020000
 
#define CERT_REGISTRY_STORE_ROAMING_FLAG   0x00040000
 
#define CERT_REGISTRY_STORE_MY_IE_DIRTY_FLAG   0x00080000
 
#define CERT_REGISTRY_STORE_LM_GPT_FLAG   0x01000000
 
#define CERT_REGISTRY_STORE_CLIENT_GPT_FLAG   0x80000000
 
#define CERT_FILE_STORE_COMMIT_ENABLE_FLAG   0x00010000
 
#define CERT_CLOSE_STORE_FORCE_FLAG   0x00000001
 
#define CERT_CLOSE_STORE_CHECK_FLAG   0x00000002
 
#define CERT_STORE_ADD_NEW   1
 
#define CERT_STORE_ADD_USE_EXISTING   2
 
#define CERT_STORE_ADD_REPLACE_EXISTING   3
 
#define CERT_STORE_ADD_ALWAYS   4
 
#define CERT_STORE_ADD_REPLACE_EXISTING_INHERIT_PROPERTIES   5
 
#define CERT_STORE_ADD_NEWER   6
 
#define CERT_STORE_ADD_NEWER_INHERIT_PROPERTIES   7
 
#define CRYPT_OID_OPEN_STORE_PROV_FUNC   "CertDllOpenStoreProv"
 
#define CRYPT_OID_ENCODE_OBJECT_FUNC   "CryptDllEncodeObject"
 
#define CRYPT_OID_DECODE_OBJECT_FUNC   "CryptDllDecodeObject"
 
#define CRYPT_OID_ENCODE_OBJECT_EX_FUNC   "CryptDllEncodeObjectEx"
 
#define CRYPT_OID_DECODE_OBJECT_EX_FUNC   "CryptDllDecodeObjectEx"
 
#define CRYPT_OID_CREATE_COM_OBJECT_FUNC   "CryptDllCreateComObject"
 
#define CRYPT_OID_VERIFY_REVOCATION_FUNC   "CertDllVerifyRevocation"
 
#define CRYPT_OID_VERIFY_CTL_USAGE_FUNC   "CertDllVerifyCTLUsage"
 
#define CRYPT_OID_FORMAT_OBJECT_FUNC   "CryptDllFormatObject"
 
#define CRYPT_OID_FIND_OID_INFO_FUNC   "CryptDllFindOIDInfo"
 
#define CRYPT_OID_FIND_LOCALIZED_NAME_FUNC   "CryptDllFindLocalizedName"
 
#define CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC   "CryptDllExportPublicKeyInfoEx"
 
#define CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC   "CryptDllImportPublicKeyInfoEx"
 
#define CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC   "CryptDllExportPrivateKeyInfoEx"
 
#define CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC   "CryptDllImportPrivateKeyInfoEx"
 
#define CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC   "CertDllVerifyCertificateChainPolicy"
 
#define URL_OID_GET_OBJECT_URL_FUNC   "UrlDllGetObjectUrl"
 
#define TIME_VALID_OID_GET_OBJECT_FUNC   "TimeValidDllGetObject"
 
#define CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC   "CryptMsgDllGenContentEncryptKey"
 
#define CMSG_OID_EXPORT_KEY_TRANS_FUNC   "CryptMsgDllExportKeyTrans"
 
#define CMSG_OID_IMPORT_KEY_TRANS_FUNC   "CryptMsgDllImportKeyTrans"
 
#define CRYPT_OID_REGPATH   "Software\\Microsoft\\Cryptography\\OID"
 
#define CRYPT_OID_REG_ENCODING_TYPE_PREFIX   "EncodingType "
 
#define CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A   "FuncName"
 
#define CRYPT_DEFAULT_OID   "DEFAULT"
 
#define CRYPT_INSTALL_OID_FUNC_BEFORE_FLAG   1
 
#define CRYPT_GET_INSTALLED_OID_FUNC_FLAG   0x1
 
#define CRYPT_REGISTER_FIRST_INDEX   0
 
#define CRYPT_REGISTER_LAST_INDEX   0xffffffff
 
#define CERT_STORE_PROV_EXTERNAL_FLAG   0x1
 
#define CERT_STORE_PROV_DELETED_FLAG   0x2
 
#define CERT_STORE_PROV_NO_PERSIST_FLAG   0x4
 
#define CERT_STORE_PROV_SYSTEM_STORE_FLAG   0x8
 
#define CERT_STORE_PROV_LM_SYSTEM_STORE_FLAG   0x10
 
#define CERT_STORE_PROV_CLOSE_FUNC   0
 
#define CERT_STORE_PROV_READ_CERT_FUNC   1
 
#define CERT_STORE_PROV_WRITE_CERT_FUNC   2
 
#define CERT_STORE_PROV_DELETE_CERT_FUNC   3
 
#define CERT_STORE_PROV_SET_CERT_PROPERTY_FUNC   4
 
#define CERT_STORE_PROV_READ_CRL_FUNC   5
 
#define CERT_STORE_PROV_WRITE_CRL_FUNC   6
 
#define CERT_STORE_PROV_DELETE_CRL_FUNC   7
 
#define CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC   8
 
#define CERT_STORE_PROV_READ_CTL_FUNC   9
 
#define CERT_STORE_PROV_WRITE_CTL_FUNC   10
 
#define CERT_STORE_PROV_DELETE_CTL_FUNC   11
 
#define CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC   12
 
#define CERT_STORE_PROV_CONTROL_FUNC   13
 
#define CERT_STORE_PROV_FIND_CERT_FUNC   14
 
#define CERT_STORE_PROV_FREE_FIND_CERT_FUNC   15
 
#define CERT_STORE_PROV_GET_CERT_PROPERTY_FUNC   16
 
#define CERT_STORE_PROV_FIND_CRL_FUNC   17
 
#define CERT_STORE_PROV_FREE_FIND_CRL_FUNC   18
 
#define CERT_STORE_PROV_GET_CRL_PROPERTY_FUNC   19
 
#define CERT_STORE_PROV_FIND_CTL_FUNC   20
 
#define CERT_STORE_PROV_FREE_FIND_CTL_FUNC   21
 
#define CERT_STORE_PROV_GET_CTL_PROPERTY_FUNC   22
 
#define CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG   0x1
 
#define CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG   0x2
 
#define CERT_PHYSICAL_STORE_REMOVE_OPEN_DISABLE_FLAG   0x4
 
#define CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG   0x8
 
#define CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG   0x1
 
#define CERT_SYSTEM_STORE_MASK   0xffff0000
 
#define CERT_SYSTEM_STORE_RELOCATE_FLAG   0x80000000
 
#define CERT_CHAIN_FIND_BY_ISSUER   1
 
#define CERT_STORE_SAVE_AS_STORE   1
 
#define CERT_STORE_SAVE_AS_PKCS7   2
 
#define CERT_STORE_SAVE_TO_FILE   1
 
#define CERT_STORE_SAVE_TO_MEMORY   2
 
#define CERT_STORE_SAVE_TO_FILENAME_A   3
 
#define CERT_STORE_SAVE_TO_FILENAME_W   4
 
#define CERT_STORE_SAVE_TO_FILENAME   CERT_STORE_SAVE_TO_FILENAME_W
 
#define CERT_V1   0
 
#define CERT_V2   1
 
#define CERT_V3   2
 
#define CERT_INFO_VERSION_FLAG   1
 
#define CERT_INFO_SERIAL_NUMBER_FLAG   2
 
#define CERT_INFO_SIGNATURE_ALGORITHM_FLAG   3
 
#define CERT_INFO_ISSUER_FLAG   4
 
#define CERT_INFO_NOT_BEFORE_FLAG   5
 
#define CERT_INFO_NOT_AFTER_FLAG   6
 
#define CERT_INFO_SUBJECT_FLAG   7
 
#define CERT_INFO_SUBJECT_PUBLIC_KEY_INFO_FLAG   8
 
#define CERT_INFO_ISSUER_UNIQUE_ID_FLAG   9
 
#define CERT_INFO_SUBJECT_UNIQUE_ID_FLAG   10
 
#define CERT_INFO_EXTENSION_FLAG   11
 
#define CERT_REQUEST_V1   0
 
#define CERT_KEYGEN_REQUEST_V1   0
 
#define CRL_V1   0
 
#define CRL_V2   1
 
#define CTL_V1   0
 
#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_HASH_PROP_ID   CERT_SHA1_HASH_PROP_ID
 
#define CERT_MD5_HASH_PROP_ID   4
 
#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   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_FIRST_RESERVED_PROP_ID   85
 
#define CERT_LAST_RESERVED_PROP_ID   0x00007fff
 
#define CERT_FIRST_USER_PROP_ID   0x00008000
 
#define CERT_LAST_USER_PROP_ID   0x0000ffff
 
#define IS_CERT_HASH_PROP_ID(x)
 
#define IS_PUBKEY_HASH_PROP_ID(x)
 
#define IS_CHAIN_HASH_PROP_ID(x)
 
#define CERT_ACCESS_STATE_WRITE_PERSIST_FLAG   0x1
 
#define CERT_ACCESS_STATE_SYSTEM_STORE_FLAG   0x2
 
#define CERT_ACCESS_STATE_LM_SYSTEM_STORE_FLAG   0x4
 
#define CERT_SET_PROPERTY_INHIBIT_PERSIST_FLAG   0x40000000
 
#define CERT_SET_PROPERTY_IGNORE_PERSIST_ERROR_FLAG   0x80000000
 
#define CERT_RDN_TYPE_MASK   0x000000ff
 
#define CERT_RDN_ANY_TYPE   0
 
#define CERT_RDN_ENCODED_BLOB   1
 
#define CERT_RDN_OCTET_STRING   2
 
#define CERT_RDN_NUMERIC_STRING   3
 
#define CERT_RDN_PRINTABLE_STRING   4
 
#define CERT_RDN_TELETEX_STRING   5
 
#define CERT_RDN_T61_STRING   5
 
#define CERT_RDN_VIDEOTEX_STRING   6
 
#define CERT_RDN_IA5_STRING   7
 
#define CERT_RDN_GRAPHIC_STRING   8
 
#define CERT_RDN_VISIBLE_STRING   9
 
#define CERT_RDN_ISO646_STRING   9
 
#define CERT_RDN_GENERAL_STRING   10
 
#define CERT_RDN_UNIVERSAL_STRING   11
 
#define CERT_RDN_INT4_STRING   11
 
#define CERT_RDN_BMP_STRING   12
 
#define CERT_RDN_UNICODE_STRING   12
 
#define CERT_RDN_UTF8_STRING   13
 
#define CERT_RDN_FLAGS_MASK   0xff000000
 
#define CERT_RDN_ENABLE_T61_UNICODE_FLAG   0x80000000
 
#define CERT_RDN_DISABLE_CHECK_TYPE_FLAG   0x4000000
 
#define CERT_RDN_ENABLE_UTF8_UNICODE_FLAG   0x2000000
 
#define CERT_RDN_DISABLE_IE4_UTF8_FLAG   0x0100000
 
#define IS_CERT_RDN_CHAR_STRING(x)   (((x) & CERT_RDN_TYPE_MASK) >= CERT_RDN_NUMERIC_STRING)
 
#define CERT_UNICODE_IS_RDN_ATTRS_FLAG   0x1
 
#define CERT_CASE_INSENSITIVE_IS_RDN_ATTRS_FLAG   0x2
 
#define CRL_REASON_UNSPECIFIED   0
 
#define CRL_REASON_KEY_COMPROMISE   1
 
#define CRL_REASON_CA_COMPROMISE   2
 
#define CRL_REASON_AFFILIATION_CHANGED   3
 
#define CRL_REASON_SUPERSEDED   4
 
#define CRL_REASON_CESSATION_OF_OPERATION   5
 
#define CRL_REASON_CERTIFICATE_HOLD   6
 
#define CRL_REASON_REMOVE_FROM_CRL   8
 
#define CERT_STORE_CTRL_RESYNC   1
 
#define CERT_STORE_CTRL_NOTIFY_CHANGE   2
 
#define CERT_STORE_CTRL_COMMIT   3
 
#define CERT_STORE_CTRL_AUTO_RESYNC   4
 
#define CERT_STORE_CTRL_CANCEL_NOTIFY   5
 
#define CERT_STORE_CTRL_COMMIT_FORCE_FLAG   0x1
 
#define CERT_STORE_CTRL_COMMIT_CLEAR_FLAG   0x2
 
#define CERT_STORE_LOCALIZED_NAME_PROP_ID   0x1000
 
#define CERT_CREATE_CONTEXT_NOCOPY_FLAG   0x1
 
#define CERT_CREATE_CONTEXT_SORTED_FLAG   0x2
 
#define CERT_CREATE_CONTEXT_NO_HCRYPTMSG_FLAG   0x4
 
#define CERT_CREATE_CONTEXT_NO_ENTRY_FLAG   0x8
 
#define CERT_COMPARE_MASK   0xffff
 
#define CERT_COMPARE_SHIFT   16
 
#define CERT_COMPARE_ANY   0
 
#define CERT_COMPARE_SHA1_HASH   1
 
#define CERT_COMPARE_HASH   CERT_COMPARE_SHA1_HASH
 
#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_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_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_OPTIONAL_ENHKEY_USAGE_FLAG   0x1
 
#define CERT_FIND_OPTIONAL_CTL_USAGE_FLAG   0x1
 
#define CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG   0x2
 
#define CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG   0x2
 
#define CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG   0x4
 
#define CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG   0x4
 
#define CERT_FIND_NO_ENHKEY_USAGE_FLAG   0x8
 
#define CERT_FIND_NO_CTL_USAGE_FLAG   0x8
 
#define CERT_FIND_OR_ENHKEY_USAGE_FLAG   0x10
 
#define CERT_FIND_OR_CTL_USAGE_FLAG   0x10
 
#define CERT_FIND_VALID_ENHKEY_USAGE_FLAG   0x20
 
#define CERT_FIND_VALID_CTL_USAGE_FLAG   0x20
 
#define CRL_FIND_ANY   0
 
#define CRL_FIND_ISSUED_BY   1
 
#define CRL_FIND_EXISTING   2
 
#define CRL_FIND_ISSUED_FOR   3
 
#define CRL_FIND_ISSUED_BY_AKI_FLAG   0x1
 
#define CRL_FIND_ISSUED_BY_SIGNATURE_FLAG   0x2
 
#define CRL_FIND_ISSUED_BY_DELTA_FLAG   0x4
 
#define CRL_FIND_ISSUED_BY_BASE_FLAG   0x8
 
#define CTL_FIND_ANY   0
 
#define CTL_FIND_SHA1_HASH   1
 
#define CTL_FIND_MD5_HASH   2
 
#define CTL_FIND_USAGE   3
 
#define CTL_FIND_SUBJECT   4
 
#define CTL_FIND_EXISTING   5
 
#define CTL_FIND_NO_LIST_ID_CBDATA   0xffffffff
 
#define CTL_FIND_NO_SIGNER_PTR   ((PCERT_INFO)-1)
 
#define CTL_FIND_SAME_USAGE_FLAG   0x00000001
 
#define CERT_STORE_PROV_WRITE_ADD_FLAG   0x1
 
#define CERT_STORE_CERTIFICATE_CONTEXT   1
 
#define CERT_STORE_CRL_CONTEXT   2
 
#define CERT_STORE_CTL_CONTEXT   3
 
#define CERT_STORE_ALL_CONTEXT_FLAG   ~0U
 
#define CERT_STORE_CERTIFICATE_CONTEXT_FLAG   (1 << CERT_STORE_CERTIFICATE_CONTEXT)
 
#define CERT_STORE_CRL_CONTEXT_FLAG   (1 << CERT_STORE_CRL_CONTEXT)
 
#define CERT_STORE_CTL_CONTEXT_FLAG   (1 << CERT_STORE_CTL_CONTEXT)
 
#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_NOCRLF   0x40000000
 
#define CRYPT_STRING_NOCR   0x80000000
 
#define szOID_RSA   "1.2.840.113549"
 
#define szOID_PKCS   "1.2.840.113549.1"
 
#define szOID_RSA_HASH   "1.2.840.113549.2"
 
#define szOID_RSA_ENCRYPT   "1.2.840.113549.3"
 
#define szOID_PKCS_1   "1.2.840.113549.1.1"
 
#define szOID_PKCS_2   "1.2.840.113549.1.2"
 
#define szOID_PKCS_3   "1.2.840.113549.1.3"
 
#define szOID_PKCS_4   "1.2.840.113549.1.4"
 
#define szOID_PKCS_5   "1.2.840.113549.1.5"
 
#define szOID_PKCS_6   "1.2.840.113549.1.6"
 
#define szOID_PKCS_7   "1.2.840.113549.1.7"
 
#define szOID_PKCS_8   "1.2.840.113549.1.8"
 
#define szOID_PKCS_9   "1.2.840.113549.1.9"
 
#define szOID_PKCS_10   "1.2.840.113549.1.10"
 
#define szOID_PKCS_11   "1.2.840.113549.1.12"
 
#define szOID_RSA_RSA   "1.2.840.113549.1.1.1"
 
#define CERT_RSA_PUBLIC_KEY_OBJID   szOID_RSA_RSA
 
#define CERT_DEFAULT_OID_PUBLIC_KEY_SIGN   szOID_RSA_RSA
 
#define CERT_DEFAULT_OID_PUBLIC_KEY_XCHG   szOID_RSA_RSA
 
#define szOID_RSA_MD2RSA   "1.2.840.113549.1.1.2"
 
#define szOID_RSA_MD4RSA   "1.2.840.113549.1.1.3"
 
#define szOID_RSA_MD5RSA   "1.2.840.113549.1.1.4"
 
#define szOID_RSA_SHA1RSA   "1.2.840.113549.1.1.5"
 
#define szOID_RSA_SET0AEP_RSA   "1.2.840.113549.1.1.6"
 
#define szOID_RSA_SHA256RSA   "1.2.840.113549.1.1.11"
 
#define szOID_RSA_SHA384RSA   "1.2.840.113549.1.1.12"
 
#define szOID_RSA_SHA512RSA   "1.2.840.113549.1.1.13"
 
#define szOID_RSA_DH   "1.2.840.113549.1.3.1"
 
#define szOID_RSA_data   "1.2.840.113549.1.7.1"
 
#define szOID_RSA_signedData   "1.2.840.113549.1.7.2"
 
#define szOID_RSA_envelopedData   "1.2.840.113549.1.7.3"
 
#define szOID_RSA_signEnvData   "1.2.840.113549.1.7.4"
 
#define szOID_RSA_digestedData   "1.2.840.113549.1.7.5"
 
#define szOID_RSA_hashedData   "1.2.840.113549.1.7.5"
 
#define szOID_RSA_encryptedData   "1.2.840.113549.1.7.6"
 
#define szOID_RSA_emailAddr   "1.2.840.113549.1.9.1"
 
#define szOID_RSA_unstructName   "1.2.840.113549.1.9.2"
 
#define szOID_RSA_contentType   "1.2.840.113549.1.9.3"
 
#define szOID_RSA_messageDigest   "1.2.840.113549.1.9.4"
 
#define szOID_RSA_signingTime   "1.2.840.113549.1.9.5"
 
#define szOID_RSA_counterSign   "1.2.840.113549.1.9.6"
 
#define szOID_RSA_challengePwd   "1.2.840.113549.1.9.7"
 
#define szOID_RSA_unstructAddr   "1.2.840.113549.1.9.9"
 
#define szOID_RSA_extCertAttrs   "1.2.840.113549.1.9.9"
 
#define szOID_RSA_certExtensions   "1.2.840.113549.1.9.14"
 
#define szOID_RSA_SMIMECapabilities   "1.2.840.113549.1.9.15"
 
#define szOID_RSA_preferSignedData   "1.2.840.113549.1.9.15.1"
 
#define szOID_RSA_SMIMEalg   "1.2.840.113549.1.9.16.3"
 
#define szOID_RSA_SMIMEalgESDH   "1.2.840.113549.1.9.16.3.5"
 
#define szOID_RSA_SMIMEalgCMS3DESwrap   "1.2.840.113549.1.9.16.3.6"
 
#define szOID_RSA_SMIMEalgCMSRC2wrap   "1.2.840.113549.1.9.16.3.7"
 
#define szOID_RSA_MD2   "1.2.840.113549.2.2"
 
#define szOID_RSA_MD4   "1.2.840.113549.2.4"
 
#define szOID_RSA_MD5   "1.2.840.113549.2.5"
 
#define szOID_RSA_RC2CBC   "1.2.840.113549.3.2"
 
#define szOID_RSA_RC4   "1.2.840.113549.3.4"
 
#define szOID_RSA_DES_EDE3_CBC   "1.2.840.113549.3.7"
 
#define szOID_RSA_RC5_CBCPad   "1.2.840.113549.3.9"
 
#define szOID_ANSI_X942   "1.2.840.10046"
 
#define szOID_ANSI_X942_DH   "1.2.840.10046.2.1"
 
#define szOID_X957   "1.2.840.10040"
 
#define szOID_X957_DSA   "1.2.840.10040.4.1"
 
#define szOID_X957_SHA1DSA   "1.2.840.10040.4.3"
 
#define szOID_ECC_PUBLIC_KEY   "1.2.840.10045.2.1"
 
#define szOID_ECC_CURVE_P256   "1.2.840.10045.3.1.7"
 
#define szOID_ECDSA_SPECIFIED   "1.2.840.10045.4.3"
 
#define szOID_ECDSA_SHA256   "1.2.840.10045.4.3.2"
 
#define szOID_ECDSA_SHA384   "1.2.840.10045.4.3.3"
 
#define szOID_ECDSA_SHA512   "1.2.840.10045.4.3.4"
 
#define szOID_DS   "2.5"
 
#define szOID_DSALG   "2.5.8"
 
#define szOID_DSALG_CRPT   "2.5.8.1"
 
#define szOID_DSALG_HASH   "2.5.8.2"
 
#define szOID_DSALG_SIGN   "2.5.8.3"
 
#define szOID_DSALG_RSA   "2.5.8.1.1"
 
#define szOID_OIW   "1.3.14"
 
#define szOID_OIWSEC   "1.3.14.3.2"
 
#define szOID_OIWSEC_md4RSA   "1.3.14.3.2.2"
 
#define szOID_OIWSEC_md5RSA   "1.3.14.3.2.3"
 
#define szOID_OIWSEC_md4RSA2   "1.3.14.3.2.4"
 
#define szOID_OIWSEC_desECB   "1.3.14.3.2.6"
 
#define szOID_OIWSEC_desCBC   "1.3.14.3.2.7"
 
#define szOID_OIWSEC_desOFB   "1.3.14.3.2.8"
 
#define szOID_OIWSEC_desCFB   "1.3.14.3.2.9"
 
#define szOID_OIWSEC_desMAC   "1.3.14.3.2.10"
 
#define szOID_OIWSEC_rsaSign   "1.3.14.3.2.11"
 
#define szOID_OIWSEC_dsa   "1.3.14.3.2.12"
 
#define szOID_OIWSEC_shaDSA   "1.3.14.3.2.13"
 
#define szOID_OIWSEC_mdc2RSA   "1.3.14.3.2.14"
 
#define szOID_OIWSEC_shaRSA   "1.3.14.3.2.15"
 
#define szOID_OIWSEC_dhCommMod   "1.3.14.3.2.16"
 
#define szOID_OIWSEC_desEDE   "1.3.14.3.2.17"
 
#define szOID_OIWSEC_sha   "1.3.14.3.2.18"
 
#define szOID_OIWSEC_mdc2   "1.3.14.3.2.19"
 
#define szOID_OIWSEC_dsaComm   "1.3.14.3.2.20"
 
#define szOID_OIWSEC_dsaCommSHA   "1.3.14.3.2.21"
 
#define szOID_OIWSEC_rsaXchg   "1.3.14.3.2.22"
 
#define szOID_OIWSEC_keyHashSeal   "1.3.14.3.2.23"
 
#define szOID_OIWSEC_md2RSASign   "1.3.14.3.2.24"
 
#define szOID_OIWSEC_md5RSASign   "1.3.14.3.2.25"
 
#define szOID_OIWSEC_sha1   "1.3.14.3.2.26"
 
#define szOID_OIWSEC_dsaSHA1   "1.3.14.3.2.27"
 
#define szOID_OIWSEC_dsaCommSHA1   "1.3.14.3.2.28"
 
#define szOID_OIWSEC_sha1RSASign   "1.3.14.3.2.29"
 
#define szOID_OIWDIR   "1.3.14.7.2"
 
#define szOID_OIWDIR_CRPT   "1.3.14.7.2.1"
 
#define szOID_OIWDIR_HASH   "1.3.14.7.2.2"
 
#define szOID_OIWDIR_SIGN   "1.3.14.7.2.3"
 
#define szOID_OIWDIR_md2   "1.3.14.7.2.2.1"
 
#define szOID_OIWDIR_md2RSA   "1.3.14.7.2.3.1"
 
#define szOID_ECC_CURVE_P384   "1.3.132.0.34"
 
#define szOID_ECC_CURVE_P521   "1.3.132.0.35"
 
#define szOID_INFOSEC   "2.16.840.1.101.2.1"
 
#define szOID_INFOSEC_sdnsSignature   "2.16.840.1.101.2.1.1.1"
 
#define szOID_INFOSEC_mosaicSignature   "2.16.840.1.101.2.1.1.2"
 
#define szOID_INFOSEC_sdnsConfidentiality   "2.16.840.1.101.2.1.1.3"
 
#define szOID_INFOSEC_mosaicConfidentiality   "2.16.840.1.101.2.1.1.4"
 
#define szOID_INFOSEC_sdnsIntegrity   "2.16.840.1.101.2.1.1.5"
 
#define szOID_INFOSEC_mosaicIntegrity   "2.16.840.1.101.2.1.1.6"
 
#define szOID_INFOSEC_sdnsTokenProtection   "2.16.840.1.101.2.1.1.7"
 
#define szOID_INFOSEC_mosaicTokenProtection   "2.16.840.1.101.2.1.1.8"
 
#define szOID_INFOSEC_sdnsKeyManagement   "2.16.840.1.101.2.1.1.9"
 
#define szOID_INFOSEC_mosaicKeyManagement   "2.16.840.1.101.2.1.1.10"
 
#define szOID_INFOSEC_sdnsKMandSig   "2.16.840.1.101.2.1.1.11"
 
#define szOID_INFOSEC_mosaicKMandSig   "2.16.840.1.101.2.1.1.12"
 
#define szOID_INFOSEC_SuiteASignature   "2.16.840.1.101.2.1.1.13"
 
#define szOID_INFOSEC_SuiteAConfidentiality   "2.16.840.1.101.2.1.1.14"
 
#define szOID_INFOSEC_SuiteAIntegrity   "2.16.840.1.101.2.1.1.15"
 
#define szOID_INFOSEC_SuiteATokenProtection   "2.16.840.1.101.2.1.1.16"
 
#define szOID_INFOSEC_SuiteAKeyManagement   "2.16.840.1.101.2.1.1.17"
 
#define szOID_INFOSEC_SuiteAKMandSig   "2.16.840.1.101.2.1.1.18"
 
#define szOID_INFOSEC_mosaicUpdatedSig   "2.16.840.1.101.2.1.1.19"
 
#define szOID_INFOSEC_mosaicKMandUpdSig   "2.16.840.1.101.2.1.1.20"
 
#define szOID_INFOSEC_mosaicUpdateInteg   "2.16.840.1.101.2.1.1.21"
 
#define szOID_COMMON_NAME   "2.5.4.3"
 
#define szOID_SUR_NAME   "2.5.4.4"
 
#define szOID_DEVICE_SERIAL_NUMBER   "2.5.4.5"
 
#define szOID_COUNTRY_NAME   "2.5.4.6"
 
#define szOID_LOCALITY_NAME   "2.5.4.7"
 
#define szOID_STATE_OR_PROVINCE_NAME   "2.5.4.8"
 
#define szOID_STREET_ADDRESS   "2.5.4.9"
 
#define szOID_ORGANIZATION_NAME   "2.5.4.10"
 
#define szOID_ORGANIZATIONAL_UNIT_NAME   "2.5.4.11"
 
#define szOID_TITLE   "2.5.4.12"
 
#define szOID_DESCRIPTION   "2.5.4.13"
 
#define szOID_SEARCH_GUIDE   "2.5.4.14"
 
#define szOID_BUSINESS_CATEGORY   "2.5.4.15"
 
#define szOID_POSTAL_ADDRESS   "2.5.4.16"
 
#define szOID_POSTAL_CODE   "2.5.4.17"
 
#define szOID_POST_OFFICE_BOX   "2.5.4.18"
 
#define szOID_PHYSICAL_DELIVERY_OFFICE_NAME   "2.5.4.19"
 
#define szOID_TELEPHONE_NUMBER   "2.5.4.20"
 
#define szOID_TELEX_NUMBER   "2.5.4.21"
 
#define szOID_TELETEXT_TERMINAL_IDENTIFIER   "2.5.4.22"
 
#define szOID_FACSIMILE_TELEPHONE_NUMBER   "2.5.4.23"
 
#define szOID_X21_ADDRESS   "2.5.4.24"
 
#define szOID_INTERNATIONAL_ISDN_NUMBER   "2.5.4.25"
 
#define szOID_REGISTERED_ADDRESS   "2.5.4.26"
 
#define szOID_DESTINATION_INDICATOR   "2.5.4.27"
 
#define szOID_PREFERRED_DELIVERY_METHOD   "2.5.4.28"
 
#define szOID_PRESENTATION_ADDRESS   "2.5.4.29"
 
#define szOID_SUPPORTED_APPLICATION_CONTEXT   "2.5.4.30"
 
#define szOID_MEMBER   "2.5.4.31"
 
#define szOID_OWNER   "2.5.4.32"
 
#define szOID_ROLE_OCCUPANT   "2.5.4.33"
 
#define szOID_SEE_ALSO   "2.5.4.34"
 
#define szOID_USER_PASSWORD   "2.5.4.35"
 
#define szOID_USER_CERTIFICATE   "2.5.4.36"
 
#define szOID_CA_CERTIFICATE   "2.5.4.37"
 
#define szOID_AUTHORITY_REVOCATION_LIST   "2.5.4.38"
 
#define szOID_CERTIFICATE_REVOCATION_LIST   "2.5.4.39"
 
#define szOID_CROSS_CERTIFICATE_PAIR   "2.5.4.40"
 
#define szOID_GIVEN_NAME   "2.5.4.42"
 
#define szOID_INITIALS   "2.5.4.43"
 
#define szOID_DN_QUALIFIER   "2.5.4.46"
 
#define szOID_AUTHORITY_KEY_IDENTIFIER   "2.5.29.1"
 
#define szOID_KEY_ATTRIBUTES   "2.5.29.2"
 
#define szOID_CERT_POLICIES_95   "2.5.29.3"
 
#define szOID_KEY_USAGE_RESTRICTION   "2.5.29.4"
 
#define szOID_LEGACY_POLICY_MAPPINGS   "2.5.29.5"
 
#define szOID_SUBJECT_ALT_NAME   "2.5.29.7"
 
#define szOID_ISSUER_ALT_NAME   "2.5.29.8"
 
#define szOID_SUBJECT_DIR_ATTRS   "2.5.29.9"
 
#define szOID_BASIC_CONSTRAINTS   "2.5.29.10"
 
#define szOID_SUBJECT_KEY_IDENTIFIER   "2.5.29.14"
 
#define szOID_KEY_USAGE   "2.5.29.15"
 
#define szOID_PRIVATEKEY_USAGE_PERIOD   "2.5.29.16"
 
#define szOID_SUBJECT_ALT_NAME2   "2.5.29.17"
 
#define szOID_ISSUER_ALT_NAME2   "2.5.29.18"
 
#define szOID_BASIC_CONSTRAINTS2   "2.5.29.19"
 
#define szOID_CRL_NUMBER   "2.5.29.20"
 
#define szOID_CRL_REASON_CODE   "2.5.29.21"
 
#define szOID_REASON_CODE_HOLD   "2.5.29.23"
 
#define szOID_DELTA_CRL_INDICATOR   "2.5.29.27"
 
#define szOID_ISSUING_DIST_POINT   "2.5.29.28"
 
#define szOID_NAME_CONSTRAINTS   "2.5.29.30"
 
#define szOID_CRL_DIST_POINTS   "2.5.29.31"
 
#define szOID_CERT_POLICIES   "2.5.29.32"
 
#define szOID_ANY_CERT_POLICY   "2.5.29.32.0"
 
#define szOID_POLICY_MAPPINGS   "2.5.29.33"
 
#define szOID_AUTHORITY_KEY_IDENTIFIER2   "2.5.29.35"
 
#define szOID_POLICY_CONSTRAINTS   "2.5.29.36"
 
#define szOID_ENHANCED_KEY_USAGE   "2.5.29.37"
 
#define szOID_FRESHEST_CRL   "2.5.29.46"
 
#define szOID_INHIBIT_ANY_POLICY   "2.5.29.54"
 
#define szOID_DOMAIN_COMPONENT   "0.9.2342.19200300.100.1.25"
 
#define szOID_PKCS_12_FRIENDLY_NAME_ATTR   "1.2.840.113549.1.9.20"
 
#define szOID_PKCS_12_LOCAL_KEY_ID   "1.2.840.113549.1.9.21"
 
#define szOID_CERT_EXTENSIONS   "1.3.6.1.4.1.311.2.1.14"
 
#define szOID_NEXT_UPDATE_LOCATION   "1.3.6.1.4.1.311.10.2"
 
#define szOID_KP_CTL_USAGE_SIGNING   "1.3.6.1.4.1.311.10.3.1"
 
#define szOID_KP_TIME_STAMP_SIGNING   "1.3.6.1.4.1.311.10.3.2"
 
#define szOID_SERVER_GATED_CRYPTO   "1.3.6.1.4.1.311.10.3.3"
 
#define szOID_SGC_NETSCAPE   "2.16.840.1.113730.4.1"
 
#define szOID_KP_EFS   "1.3.6.1.4.1.311.10.3.4"
 
#define szOID_EFS_RECOVERY   "1.3.6.1.4.1.311.10.3.4.1"
 
#define szOID_WHQL_CRYPTO   "1.3.6.1.4.1.311.10.3.5"
 
#define szOID_NT5_CRYPTO   "1.3.6.1.4.1.311.10.3.6"
 
#define szOID_OEM_WHQL_CRYPTO   "1.3.6.1.4.1.311.10.3.7"
 
#define szOID_EMBEDDED_NT_CRYPTO   "1.3.6.1.4.1.311.10.3.8"
 
#define szOID_ROOT_LIST_SIGNER   "1.3.6.1.4.1.311.10.3.9"
 
#define szOID_KP_QUALIFIED_SUBORDINATION   "1.3.6.1.4.1.311.10.3.10"
 
#define szOID_KP_KEY_RECOVERY   "1.3.6.1.4.1.311.10.3.11"
 
#define szOID_KP_DOCUMENT_SIGNING   "1.3.6.1.4.1.311.10.3.12"
 
#define szOID_KP_LIFETIME_SIGNING   "1.3.6.1.4.1.311.10.3.13"
 
#define szOID_KP_MOBILE_DEVICE_SOFTWARE   "1.3.6.1.4.1.311.10.3.14"
 
#define szOID_YESNO_TRUST_ATTR   "1.3.6.1.4.1.311.10.4.1"
 
#define szOID_DRM   "1.3.6.1.4.1.311.10.5.1"
 
#define szOID_DRM_INDIVIDUALIZATION   "1.3.6.1.4.1.311.10.5.2"
 
#define szOID_LICENSES   "1.3.6.1.4.1.311.10.6.1"
 
#define szOID_LICENSE_SERVER   "1.3.6.1.4.1.311.10.6.2"
 
#define szOID_REMOVE_CERTIFICATE   "1.3.6.1.4.1.311.10.8.1"
 
#define szOID_CROSS_CERT_DIST_POINTS   "1.3.6.1.4.1.311.10.9.1"
 
#define szOID_CTL   "1.3.6.1.4.1.311.10.1"
 
#define szOID_SORTED_CTL   "1.3.6.1.4.1.311.10.1.1"
 
#define szOID_ANY_APPLICATION_POLICY   "1.3.6.1.4.1.311.10.12.1"
 
#define szOID_RENEWAL_CERTIFICATE   "1.3.6.1.4.1.311.13.1"
 
#define szOID_ENROLLMENT_NAME_VALUE_PAIR   "1.3.6.1.4.1.311.13.2.1"
 
#define szOID_ENROLLMENT_CSP_PROVIDER   "1.3.6.1.4.1.311.13.2.2"
 
#define szOID_OS_VERSION   "1.3.6.1.4.1.311.13.2.3"
 
#define szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR   "1.3.6.1.4.1.311.17.1"
 
#define szOID_LOCAL_MACHINE_KEYSET   "1.3.6.1.4.1.311.17.2"
 
#define szOID_AUTO_ENROLL_CTL_USAGE   "1.3.6.1.4.1.311.20.1"
 
#define szOID_ENROLL_CERTTYPE_EXTENSION   "1.3.6.1.4.1.311.20.2"
 
#define szOID_ENROLLMENT_AGENT   "1.3.6.1.4.1.311.20.2.1"
 
#define szOID_KP_SMARTCARD_LOGON   "1.3.6.1.4.1.311.20.2.2"
 
#define szOID_NT_PRINCIPAL_NAME   "1.3.6.1.4.1.311.20.2.3"
 
#define szOID_CERT_MANIFOLD   "1.3.6.1.4.1.311.20.3"
 
#define szOID_CERTSRV_CA_VERSION   "1.3.6.1.4.1.311.21.1"
 
#define szOID_CERTSRV_PREVIOUS_CERT_HASH   "1.3.6.1.4.1.311.21.2"
 
#define szOID_CRL_VIRTUAL_BASE   "1.3.6.1.4.1.311.21.3"
 
#define szOID_CRL_NEXT_PUBLISH   "1.3.6.1.4.1.311.21.4"
 
#define szOID_KP_CA_EXCHANGE   "1.3.6.1.4.1.311.21.5"
 
#define szOID_KP_KEY_RECOVERY_AGENT   "1.3.6.1.4.1.311.21.6"
 
#define szOID_CERTIFICATE_TEMPLATE   "1.3.6.1.4.1.311.21.7"
 
#define szOID_ENTERPRISE_OID_ROOT   "1.3.6.1.4.1.311.21.8"
 
#define szOID_RDN_DUMMY_SIGNER   "1.3.6.1.4.1.311.21.9"
 
#define szOID_APPLICATION_CERT_POLICIES   "1.3.6.1.4.1.311.21.10"
 
#define szOID_APPLICATION_POLICY_MAPPINGS   "1.3.6.1.4.1.311.21.11"
 
#define szOID_APPLICATION_POLICY_CONSTRAINTS   "1.3.6.1.4.1.311.21.12"
 
#define szOID_ARCHIVED_KEY_ATTR   "1.3.6.1.4.1.311.21.13"
 
#define szOID_CRL_SELF_CDP   "1.3.6.1.4.1.311.21.14"
 
#define szOID_REQUIRE_CERT_CHAIN_POLICY   "1.3.6.1.4.1.311.21.15"
 
#define szOID_ARCHIVED_KEY_CERT_HASH   "1.3.6.1.4.1.311.21.16"
 
#define szOID_ISSUED_CERT_HASH   "1.3.6.1.4.1.311.21.17"
 
#define szOID_DS_EMAIL_REPLICATION   "1.3.6.1.4.1.311.21.19"
 
#define szOID_REQUEST_CLIENT_INFO   "1.3.6.1.4.1.311.21.20"
 
#define szOID_ENCRYPTED_KEY_HASH   "1.3.6.1.4.1.311.21.21"
 
#define szOID_CERTSRV_CROSSCA_VERSION   "1.3.6.1.4.1.311.21.22"
 
#define szOID_KEYID_RDN   "1.3.6.1.4.1.311.10.7.1"
 
#define szOID_PKIX   "1.3.6.1.5.5.7"
 
#define szOID_PKIX_PE   "1.3.6.1.5.5.7.1"
 
#define szOID_AUTHORITY_INFO_ACCESS   "1.3.6.1.5.5.7.1.1"
 
#define szOID_PKIX_POLICY_QUALIFIER_CPS   "1.3.6.1.5.5.7.2.1"
 
#define szOID_PKIX_POLICY_QUALIFIER_USERNOTICE   "1.3.6.1.5.5.7.2.2"
 
#define szOID_PKIX_KP   "1.3.6.1.5.5.7.3"
 
#define szOID_PKIX_KP_SERVER_AUTH   "1.3.6.1.5.5.7.3.1"
 
#define szOID_PKIX_KP_CLIENT_AUTH   "1.3.6.1.5.5.7.3.2"
 
#define szOID_PKIX_KP_CODE_SIGNING   "1.3.6.1.5.5.7.3.3"
 
#define szOID_PKIX_KP_EMAIL_PROTECTION   "1.3.6.1.5.5.7.3.4"
 
#define szOID_PKIX_KP_IPSEC_END_SYSTEM   "1.3.6.1.5.5.7.3.5"
 
#define szOID_PKIX_KP_IPSEC_TUNNEL   "1.3.6.1.5.5.7.3.6"
 
#define szOID_PKIX_KP_IPSEC_USER   "1.3.6.1.5.5.7.3.7"
 
#define szOID_PKIX_KP_TIMESTAMP_SIGNING   "1.3.6.1.5.5.7.3.8"
 
#define szOID_PKIX_NO_SIGNATURE   "1.3.6.1.5.5.7.6.2"
 
#define szOID_CMC   "1.3.6.1.5.5.7.7"
 
#define szOID_CMC_STATUS_INFO   "1.3.6.1.5.5.7.7.1"
 
#define szOID_CMC_IDENTIFICATION   "1.3.6.1.5.5.7.7.2"
 
#define szOID_CMC_IDENTITY_PROOF   "1.3.6.1.5.5.7.7.3"
 
#define szOID_CMC_DATA_RETURN   "1.3.6.1.5.5.7.7.4"
 
#define szOID_CMC_TRANSACTION_ID   "1.3.6.1.5.5.7.7.5"
 
#define szOID_CMC_SENDER_NONCE   "1.3.6.1.5.5.7.7.6"
 
#define szOID_CMC_RECIPIENT_NONCE   "1.3.6.1.5.5.7.7.7"
 
#define szOID_CMC_ADD_EXTENSIONS   "1.3.6.1.5.5.7.7.8"
 
#define szOID_CMC_ENCRYPTED_POP   "1.3.6.1.5.5.7.7.9"
 
#define szOID_CMC_DECRYPTED_POP   "1.3.6.1.5.5.7.7.10"
 
#define szOID_CMC_LRA_POP_WITNESS   "1.3.6.1.5.5.7.7.11"
 
#define szOID_CMC_GET_CERT   "1.3.6.1.5.5.7.7.15"
 
#define szOID_CMC_GET_CRL   "1.3.6.1.5.5.7.7.16"
 
#define szOID_CMC_REVOKE_REQUEST   "1.3.6.1.5.5.7.7.17"
 
#define szOID_CMC_REG_INFO   "1.3.6.1.5.5.7.7.18"
 
#define szOID_CMC_RESPONSE_INFO   "1.3.6.1.5.5.7.7.19"
 
#define szOID_CMC_QUERY_PENDING   "1.3.6.1.5.5.7.7.21"
 
#define szOID_CMC_ID_POP_LINK_RANDOM   "1.3.6.1.5.5.7.7.22"
 
#define szOID_CMC_ID_POP_LINK_WITNESS   "1.3.6.1.5.5.7.7.23"
 
#define szOID_CT_PKI_DATA   "1.3.6.1.5.5.7.12.2"
 
#define szOID_CT_PKI_RESPONSE   "1.3.6.1.5.5.7.12.3"
 
#define szOID_PKIX_ACC_DESCR   "1.3.6.1.5.5.7.48"
 
#define szOID_PKIX_OCSP   "1.3.6.1.5.5.7.48.1"
 
#define szOID_PKIX_CA_ISSUERS   "1.3.6.1.5.5.7.48.2"
 
#define szOID_IPSEC_KP_IKE_INTERMEDIATE   "1.3.6.1.5.5.8.2.2"
 
#define szOID_SERIALIZED   "1.3.6.1.4.1.311.10.3.3.1"
 
#define szOID_PRODUCT_UPDATE   "1.3.6.1.4.1.311.31.1"
 
#define szOID_NETSCAPE   "2.16.840.1.113730"
 
#define szOID_NETSCAPE_CERT_EXTENSION   "2.16.840.1.113730.1"
 
#define szOID_NETSCAPE_CERT_TYPE   "2.16.840.1.113730.1.1"
 
#define szOID_NETSCAPE_BASE_URL   "2.16.840.1.113730.1.2"
 
#define szOID_NETSCAPE_REVOCATION_URL   "2.16.840.1.113730.1.3"
 
#define szOID_NETSCAPE_CA_REVOCATION_URL   "2.16.840.1.113730.1.4"
 
#define szOID_NETSCAPE_CERT_RENEWAL_URL   "2.16.840.1.113730.1.7"
 
#define szOID_NETSCAPE_CA_POLICY_URL   "2.16.840.1.113730.1.8"
 
#define szOID_NETSCAPE_SSL_SERVER_NAME   "2.16.840.1.113730.1.12"
 
#define szOID_NETSCAPE_COMMENT   "2.16.840.1.113730.1.13"
 
#define szOID_NETSCAPE_DATA_TYPE   "2.16.840.1.113730.2"
 
#define szOID_NETSCAPE_CERT_SEQUENCE   "2.16.840.1.113730.2.5"
 
#define szOID_NIST_sha256   "2.16.840.1.101.3.4.2.1"
 
#define szOID_NIST_sha384   "2.16.840.1.101.3.4.2.2"
 
#define szOID_NIST_sha512   "2.16.840.1.101.3.4.2.3"
 
#define NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE   0x80
 
#define NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE   0x40
 
#define NETSCAPE_SMIME_CERT_TYPE   0x20
 
#define NETSCAPE_SIGN_CERT_TYPE   0x10
 
#define NETSCAPE_SSL_CA_CERT_TYPE   0x04
 
#define NETSCAPE_SMIME_CA_CERT_TYPE   0x02
 
#define NETSCAPE_SIGN_CA_CERT_TYPE   0x01
 
#define CRYPT_ENCODE_DECODE_NONE   0
 
#define X509_CERT   ((LPCSTR)1)
 
#define X509_CERT_TO_BE_SIGNED   ((LPCSTR)2)
 
#define X509_CERT_CRL_TO_BE_SIGNED   ((LPCSTR)3)
 
#define X509_CERT_REQUEST_TO_BE_SIGNED   ((LPCSTR)4)
 
#define X509_EXTENSIONS   ((LPCSTR)5)
 
#define X509_NAME_VALUE   ((LPCSTR)6)
 
#define X509_ANY_STRING   X509_NAME_VALUE
 
#define X509_NAME   ((LPCSTR)7)
 
#define X509_PUBLIC_KEY_INFO   ((LPCSTR)8)
 
#define X509_AUTHORITY_KEY_ID   ((LPCSTR)9)
 
#define X509_KEY_ATTRIBUTES   ((LPCSTR)10)
 
#define X509_KEY_USAGE_RESTRICTION   ((LPCSTR)11)
 
#define X509_ALTERNATE_NAME   ((LPCSTR)12)
 
#define X509_BASIC_CONSTRAINTS   ((LPCSTR)13)
 
#define X509_KEY_USAGE   ((LPCSTR)14)
 
#define X509_BASIC_CONSTRAINTS2   ((LPCSTR)15)
 
#define X509_CERT_POLICIES   ((LPCSTR)16)
 
#define PKCS_UTC_TIME   ((LPCSTR)17)
 
#define PKCS_TIME_REQUEST   ((LPCSTR)18)
 
#define RSA_CSP_PUBLICKEYBLOB   ((LPCSTR)19)
 
#define X509_UNICODE_NAME   ((LPCSTR)20)
 
#define X509_KEYGEN_REQUEST_TO_BE_SIGNED   ((LPCSTR)21)
 
#define PKCS_ATTRIBUTE   ((LPCSTR)22)
 
#define PKCS_CONTENT_INFO_SEQUENCE_OF_ANY   ((LPCSTR)23)
 
#define X509_UNICODE_NAME_VALUE   ((LPCSTR)24)
 
#define X509_UNICODE_ANY_STRING   X509_UNICODE_NAME_VALUE
 
#define X509_OCTET_STRING   ((LPCSTR)25)
 
#define X509_BITS   ((LPCSTR)26)
 
#define X509_INTEGER   ((LPCSTR)27)
 
#define X509_MULTI_BYTE_INTEGER   ((LPCSTR)28)
 
#define X509_ENUMERATED   ((LPCSTR)29)
 
#define X509_CRL_REASON_CODE   X509_ENUMERATED
 
#define X509_CHOICE_OF_TIME   ((LPCSTR)30)
 
#define X509_AUTHORITY_KEY_ID2   ((LPCSTR)31)
 
#define X509_AUTHORITY_INFO_ACCESS   ((LPCSTR)32)
 
#define PKCS_CONTENT_INFO   ((LPCSTR)33)
 
#define X509_SEQUENCE_OF_ANY   ((LPCSTR)34)
 
#define X509_CRL_DIST_POINTS   ((LPCSTR)35)
 
#define X509_ENHANCED_KEY_USAGE   ((LPCSTR)36)
 
#define PKCS_CTL   ((LPCSTR)37)
 
#define X509_MULTI_BYTE_UINT   ((LPCSTR)38)
 
#define X509_DSS_PUBLICKEY   X509_MULTI_BYTE_UINT
 
#define X509_DSS_PARAMETERS   ((LPCSTR)39)
 
#define X509_DSS_SIGNATURE   ((LPCSTR)40)
 
#define PKCS_RC2_CBC_PARAMETERS   ((LPCSTR)41)
 
#define PKCS_SMIME_CAPABILITIES   ((LPCSTR)42)
 
#define PKCS_RSA_PRIVATE_KEY   ((LPCSTR)43)
 
#define PKCS_PRIVATE_KEY_INFO   ((LPCSTR)44)
 
#define PKCS_ENCRYPTED_PRIVATE_KEY_INFO   ((LPCSTR)45)
 
#define X509_PKIX_POLICY_QUALIFIER_USERNOTICE   ((LPCSTR)46)
 
#define X509_DH_PUBLICKEY   X509_MULTI_BYTE_UINT
 
#define X509_DH_PARAMETERS   ((LPCSTR)47)
 
#define X509_ECC_SIGNATURE   ((LPCSTR)47)
 
#define PKCS_ATTRIBUTES   ((LPCSTR)48)
 
#define PKCS_SORTED_CTL   ((LPCSTR)49)
 
#define X942_DH_PARAMETERS   ((LPCSTR)50)
 
#define X509_BITS_WITHOUT_TRAILING_ZEROES   ((LPCSTR)51)
 
#define X942_OTHER_INFO   ((LPCSTR)52)
 
#define X509_CERT_PAIR   ((LPCSTR)53)
 
#define X509_ISSUING_DIST_POINT   ((LPCSTR)54)
 
#define X509_NAME_CONSTRAINTS   ((LPCSTR)55)
 
#define X509_POLICY_MAPPINGS   ((LPCSTR)56)
 
#define X509_POLICY_CONSTRAINTS   ((LPCSTR)57)
 
#define X509_CROSS_CERT_DIST_POINTS   ((LPCSTR)58)
 
#define CMC_DATA   ((LPCSTR)59)
 
#define CMC_RESPONSE   ((LPCSTR)60)
 
#define CMC_STATUS   ((LPCSTR)61)
 
#define CMC_ADD_EXTENSIONS   ((LPCSTR)62)
 
#define CMC_ADD_ATTRIBUTES   ((LPCSTR)63)
 
#define X509_CERTIFICATE_TEMPLATE   ((LPCSTR)64)
 
#define X509_OBJECT_IDENTIFIER   ((LPCSTR)73)
 
#define PKCS7_SIGNER_INFO   ((LPCSTR)500)
 
#define CMS_SIGNER_INFO   ((LPCSTR)501)
 
#define CRYPT_ENCODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG   0x00008
 
#define CRYPT_ENCODE_ALLOC_FLAG   0x08000
 
#define CRYPT_SORTED_CTL_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG   0x10000
 
#define CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG   CERT_RDN_ENABLE_T61_UNICODE_FLAG
 
#define CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG   CERT_RDN_ENABLE_UTF8_UNICODE_FLAG
 
#define CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG   CERT_RDN_DISABLE_CHECK_TYPE_FLAG
 
#define CRYPT_DECODE_NOCOPY_FLAG   0x00001
 
#define CRYPT_DECODE_TO_BE_SIGNED_FLAG   0x00002
 
#define CRYPT_DECODE_SHARE_OID_STRING_FLAG   0x00004
 
#define CRYPT_DECODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG   0x00008
 
#define CRYPT_DECODE_ALLOC_FLAG   0x08000
 
#define CRYPT_UNICODE_NAME_DECODE_DISABLE_IE4_UTF8_FLAG   CERT_RDN_DISABLE_IE4_UTF8_FLAG
 
#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 CRYPT_VERIFY_CERT_SIGN_SUBJECT_BLOB   1
 
#define CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT   2
 
#define CRYPT_VERIFY_CERT_SIGN_SUBJECT_CRL   3
 
#define CRYPT_VERIFY_CERT_SIGN_ISSUER_PUBKEY   1
 
#define CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT   2
 
#define CRYPT_VERIFY_CERT_SIGN_ISSUER_CHAIN   3
 
#define CRYPT_VERIFY_CERT_SIGN_ISSUER_NULL   4
 
#define CRYPT_GET_URL_FROM_PROPERTY   0x00000001
 
#define CRYPT_GET_URL_FROM_EXTENSION   0x00000002
 
#define CRYPT_GET_URL_FROM_UNAUTH_ATTRIBUTE   0x00000004
 
#define CRYPT_GET_URL_FROM_AUTH_ATTRIBUTE   0x00000008
 
#define CERT_SIMPLE_NAME_STR   1
 
#define CERT_OID_NAME_STR   2
 
#define CERT_X500_NAME_STR   3
 
#define CERT_NAME_STR_SEMICOLON_FLAG   0x40000000
 
#define CERT_NAME_STR_NO_PLUS_FLAG   0x20000000
 
#define CERT_NAME_STR_NO_QUOTING_FLAG   0x10000000
 
#define CERT_NAME_STR_CRLF_FLAG   0x08000000
 
#define CERT_NAME_STR_COMMA_FLAG   0x04000000
 
#define CERT_NAME_STR_REVERSE_FLAG   0x02000000
 
#define CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG   0x00040000
 
#define CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG   0x00020000
 
#define CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG   0x00010000
 
#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   0x00000001
 
#define CERT_NAME_DISABLE_IE4_UTF8_FLAG   0x00010000
 
#define CRYPT_FORMAT_STR_MULTI_LINE   0x0001
 
#define CRYPT_FORMAT_STR_NO_HEX   0x0010
 
#define CRYPT_FORMAT_SIMPLE   0x0001
 
#define CRYPT_FORMAT_X509   0x0002
 
#define CRYPT_FORMAT_OID   0x0004
 
#define CRYPT_FORMAT_RDN_SEMICOLON   0x0100
 
#define CRYPT_FORMAT_RDN_CRLF   0x0200
 
#define CRYPT_FORMAT_RDN_UNQUOTE   0x0400
 
#define CRYPT_FORMAT_RDN_REVERSE   0x0800
 
#define CRYPT_FORMAT_COMMA   0x1000
 
#define CRYPT_FORMAT_SEMICOLON   CRYPT_FORMAT_RDN_SEMICOLON
 
#define CRYPT_FORMAT_CRLF   CRYPT_FORMAT_RDN_CRLF
 
#define CERT_QUERY_OBJECT_FILE   1
 
#define CERT_QUERY_OBJECT_BLOB   2
 
#define CERT_QUERY_CONTENT_CERT   1
 
#define CERT_QUERY_CONTENT_CTL   2
 
#define CERT_QUERY_CONTENT_CRL   3
 
#define CERT_QUERY_CONTENT_SERIALIZED_STORE   4
 
#define CERT_QUERY_CONTENT_SERIALIZED_CERT   5
 
#define CERT_QUERY_CONTENT_SERIALIZED_CTL   6
 
#define CERT_QUERY_CONTENT_SERIALIZED_CRL   7
 
#define CERT_QUERY_CONTENT_PKCS7_SIGNED   8
 
#define CERT_QUERY_CONTENT_PKCS7_UNSIGNED   9
 
#define CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED   10
 
#define CERT_QUERY_CONTENT_PKCS10   11
 
#define CERT_QUERY_CONTENT_PFX   12
 
#define CERT_QUERY_CONTENT_CERT_PAIR   13
 
#define CERT_QUERY_CONTENT_FLAG_CERT   (1 << CERT_QUERY_CONTENT_CERT)
 
#define CERT_QUERY_CONTENT_FLAG_CTL   (1 << CERT_QUERY_CONTENT_CTL)
 
#define CERT_QUERY_CONTENT_FLAG_CRL   (1 << CERT_QUERY_CONTENT_CRL)
 
#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE   (1 << CERT_QUERY_CONTENT_SERIALIZED_STORE)
 
#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT   (1 << CERT_QUERY_CONTENT_SERIALIZED_CERT)
 
#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL   (1 << CERT_QUERY_CONTENT_SERIALIZED_CTL)
 
#define CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL   (1 << CERT_QUERY_CONTENT_SERIALIZED_CRL)
 
#define CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED   (1 << CERT_QUERY_CONTENT_PKCS7_SIGNED)
 
#define CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED   (1 << CERT_QUERY_CONTENT_PKCS7_UNSIGNED)
 
#define CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED   (1 << CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED)
 
#define CERT_QUERY_CONTENT_FLAG_PKCS10   (1 << CERT_QUERY_CONTENT_PKCS10)
 
#define CERT_QUERY_CONTENT_FLAG_PFX   (1 << CERT_QUERY_CONTENT_PFX)
 
#define CERT_QUERY_CONTENT_FLAG_CERT_PAIR   (1 << CERT_QUERY_CONTENT_CERT_PAIR)
 
#define CERT_QUERY_CONTENT_FLAG_ALL
 
#define CERT_QUERY_FORMAT_BINARY   1
 
#define CERT_QUERY_FORMAT_BASE64_ENCODED   2
 
#define CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED   3
 
#define CERT_QUERY_FORMAT_FLAG_BINARY   (1 << CERT_QUERY_FORMAT_BINARY)
 
#define CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED   (1 << CERT_QUERY_FORMAT_BASE64_ENCODED)
 
#define CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED   (1 << CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED)
 
#define CERT_QUERY_FORMAT_FLAG_ALL
 
#define CERT_SET_KEY_PROV_HANDLE_PROP_ID   0x00000001
 
#define CERT_SET_KEY_CONTEXT_PROP_ID   0x00000001
 
#define CERT_CREATE_SELFSIGN_NO_SIGN   1
 
#define CERT_CREATE_SELFSIGN_NO_KEY_INFO   2
 
#define CRYPT_ACQUIRE_CACHE_FLAG   0x00000001
 
#define CRYPT_ACQUIRE_USE_PROV_INFO_FLAG   0x00000002
 
#define CRYPT_ACQUIRE_COMPARE_KEY_FLAG   0x00000004
 
#define CRYPT_ACQUIRE_SILENT_FLAG   0x00000040
 
#define CRYPT_FIND_USER_KEYSET_FLAG   0x00000001
 
#define CRYPT_FIND_MACHINE_KEYSET_FLAG   0x00000002
 
#define CRYPT_FIND_SILENT_KEYSET_FLAG   0x00000040
 
#define HCCE_CURRENT_USER   ((HCERTCHAINENGINE)NULL)
 
#define HCCE_LOCAL_MACHINE   ((HCERTCHAINENGINE)1)
 
#define CERT_CHAIN_CACHE_END_CERT   0x00000001
 
#define CERT_CHAIN_THREAD_STORE_SYNC   0x00000002
 
#define CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL   0x00000004
 
#define CERT_CHAIN_USE_LOCAL_MACHINE_STORE   0x00000008
 
#define CERT_CHAIN_ENABLE_CACHE_AUTO_UPDATE   0x00000010
 
#define CERT_CHAIN_ENABLE_SHARE_STORE   0x00000020
 
#define CMSG_INDEFINITE_LENGTH   0xffffffff
 
#define CERT_ID_ISSUER_SERIAL_NUMBER   1
 
#define CERT_ID_KEY_IDENTIFIER   2
 
#define CERT_ID_SHA1_HASH   3
 
#define CMSG_DATA   1
 
#define CMSG_SIGNED   2
 
#define CMSG_ENVELOPED   3
 
#define CMSG_SIGNED_AND_ENVELOPED   4
 
#define CMSG_HASHED   5
 
#define CMSG_ENCRYPTED   6
 
#define CMSG_ALL_FLAGS   ~0U
 
#define CMSG_DATA_FLAG   (1 << CMSG_DATA)
 
#define CMSG_SIGNED_FLAG   (1 << CMSG_SIGNED)
 
#define CMSG_ENVELOPED_FLAG   (1 << CMSG_ENVELOPED)
 
#define CMSG_SIGNED_AND_ENVELOPED_FLAG   (1 << CMSG_SIGNED_AND_ENVELOPED)
 
#define CMSG_ENCRYPTED_FLAG   (1 << CMSG_ENCRYPTED)
 
#define CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE   1
 
#define CMSG_KEY_AGREE_STATIC_KEY_CHOICE   2
 
#define CMSG_MAIL_LIST_HANDLE_KEY_CHOICE   1
 
#define CMSG_KEY_TRANS_RECIPIENT   1
 
#define CMSG_KEY_AGREE_RECIPIENT   2
 
#define CMSG_MAIL_LIST_RECIPIENT   3
 
#define CMSG_BARE_CONTENT_FLAG   0x00000001
 
#define CMSG_LENGTH_ONLY_FLAG   0x00000002
 
#define CMSG_DETACHED_FLAG   0x00000004
 
#define CMSG_AUTHENTICATED_ATTRIBUTES_FLAG   0x00000008
 
#define CMSG_CONTENTS_OCTETS_FLAG   0x00000010
 
#define CMSG_MAX_LENGTH_FLAG   0x00000020
 
#define CMSG_CMS_ENCAPSULATED_CONTENT_FLAG   0x00000040
 
#define CMSG_CRYPT_RELEASE_CONTEXT_FLAG   0x00008000
 
#define CMSG_CTRL_VERIFY_SIGNATURE   1
 
#define CMSG_CTRL_DECRYPT   2
 
#define CMSG_CTRL_VERIFY_HASH   5
 
#define CMSG_CTRL_ADD_SIGNER   6
 
#define CMSG_CTRL_DEL_SIGNER   7
 
#define CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR   8
 
#define CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR   9
 
#define CMSG_CTRL_ADD_CERT   10
 
#define CMSG_CTRL_DEL_CERT   11
 
#define CMSG_CTRL_ADD_CRL   12
 
#define CMSG_CTRL_DEL_CRL   13
 
#define CMSG_CTRL_ADD_ATTR_CERT   14
 
#define CMSG_CTRL_DEL_ATTR_CERT   15
 
#define CMSG_CTRL_KEY_TRANS_DECRYPT   16
 
#define CMSG_CTRL_KEY_AGREE_DECRYPT   17
 
#define CMSG_CTRL_MAIL_LIST_DECRYPT   18
 
#define CMSG_CTRL_VERIFY_SIGNATURE_EX   19
 
#define CMSG_CTRL_ADD_CMS_SIGNER_INFO   20
 
#define CMSG_VERIFY_SIGNER_PUBKEY   1
 
#define CMSG_VERIFY_SIGNER_CERT   2
 
#define CMSG_VERIFY_SIGNER_CHAIN   3
 
#define CMSG_VERIFY_SIGNER_NULL   4
 
#define CMSG_TYPE_PARAM   1
 
#define CMSG_CONTENT_PARAM   2
 
#define CMSG_BARE_CONTENT_PARAM   3
 
#define CMSG_INNER_CONTENT_TYPE_PARAM   4
 
#define CMSG_SIGNER_COUNT_PARAM   5
 
#define CMSG_SIGNER_INFO_PARAM   6
 
#define CMSG_SIGNER_CERT_INFO_PARAM   7
 
#define CMSG_SIGNER_HASH_ALGORITHM_PARAM   8
 
#define CMSG_SIGNER_AUTH_ATTR_PARAM   9
 
#define CMSG_SIGNER_UNAUTH_ATTR_PARAM   10
 
#define CMSG_CERT_COUNT_PARAM   11
 
#define CMSG_CERT_PARAM   12
 
#define CMSG_CRL_COUNT_PARAM   13
 
#define CMSG_CRL_PARAM   14
 
#define CMSG_ENVELOPE_ALGORITHM_PARAM   15
 
#define CMSG_RECIPIENT_COUNT_PARAM   17
 
#define CMSG_RECIPIENT_INDEX_PARAM   18
 
#define CMSG_RECIPIENT_INFO_PARAM   19
 
#define CMSG_HASH_ALGORITHM_PARAM   20
 
#define CMSG_HASH_DATA_PARAM   21
 
#define CMSG_COMPUTED_HASH_PARAM   22
 
#define CMSG_ENCRYPT_PARAM   26
 
#define CMSG_ENCRYPTED_DIGEST   27
 
#define CMSG_ENCODED_SIGNER   28
 
#define CMSG_ENCODED_MESSAGE   29
 
#define CMSG_VERSION_PARAM   30
 
#define CMSG_ATTR_CERT_COUNT_PARAM   31
 
#define CMSG_ATTR_CERT_PARAM   32
 
#define CMSG_CMS_RECIPIENT_COUNT_PARAM   33
 
#define CMSG_CMS_RECIPIENT_INDEX_PARAM   34
 
#define CMSG_CMS_RECIPIENT_ENCRYPTED_KEY_INDEX_PARAM   35
 
#define CMSG_CMS_RECIPIENT_INFO_PARAM   36
 
#define CMSG_UNPROTECTED_ATTR_PARAM   37
 
#define CMSG_SIGNER_CERT_ID_PARAM   38
 
#define CMSG_CMS_SIGNER_INFO_PARAM   39
 
#define CMSG_SIGNED_DATA_V1   1
 
#define CMSG_SIGNED_DATA_V3   3
 
#define CMSG_SIGNED_DATA_PKCS_1_5_VERSION   CMSG_SIGNED_DATA_V1
 
#define CMSG_SIGNED_DATA_CMS_VERSION   CMSG_SIGNED_DATA_V3
 
#define CMSG_SIGNER_INFO_V1   1
 
#define CMSG_SIGNER_INFO_V3   3
 
#define CMSG_SIGNER_INFO_PKCS_1_5_VERSION   CMSG_SIGNER_INFO_V1
 
#define CMSG_SIGNER_INFO_CMS_VERSION   CMSG_SIGNER_INFO_V3
 
#define CMSG_HASHED_DATA_V0   0
 
#define CMSG_HASHED_DATA_V2   2
 
#define CMSG_HASHED_DATA_PKCS_1_5_VERSION   CMSG_HASHED_DATA_V0
 
#define CMSG_HASHED_DATA_CMS_VERSION   CMSG_HASHED_DATA_V2
 
#define CMSG_ENVELOPED_DATA_V0   0
 
#define CMSG_ENVELOPED_DATA_V2   2
 
#define CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION   CMSG_ENVELOPED_DATA_V0
 
#define CMSG_ENVELOPED_DATA_CMS_VERSION   CMSG_ENVELOPED_DATA_V2
 
#define CMSG_KEY_AGREE_ORIGINATOR_CERT   1
 
#define CMSG_KEY_AGREE_ORIGINATOR_PUBLIC_KEY   2
 
#define CMSG_ENVELOPED_RECIPIENT_V0   0
 
#define CMSG_ENVELOPED_RECIPIENT_V2   2
 
#define CMSG_ENVELOPED_RECIPIENT_V3   3
 
#define CMSG_ENVELOPED_RECIPIENT_V4   4
 
#define CMSG_KEY_TRANS_PKCS_1_5_VERSION   CMSG_ENVELOPED_RECIPIENT_V0
 
#define CMSG_KEY_TRANS_CMS_VERSION   CMSG_ENVELOPED_RECIPIENT_V2
 
#define CMSG_KEY_AGREE_VERSION   CMSG_ENVELOPED_RECIPIENT_V3
 
#define CMSG_MAIL_LIST_VERSION   CMSG_ENVELOPED_RECIPIENT_V4
 
#define CMSG_TRUSTED_SIGNER_FLAG   0x1
 
#define CMSG_SIGNER_ONLY_FLAG   0x2
 
#define CMSG_USE_SIGNER_INDEX_FLAG   0x4
 
#define CMSG_CMS_ENCAPSULATED_CTL_FLAG   0x00008000
 
#define CMSG_ENCODED_SORTED_CTL_FLAG   0x1
 
#define CMSG_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG   0x2
 
#define CRYPT_USER_KEYSET   0x00001000
 
#define PKCS12_IMPORT_RESERVED_MASK   0xffff0000
 
#define REPORT_NO_PRIVATE_KEY   0x00000001
 
#define REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY   0x00000002
 
#define EXPORT_PRIVATE_KEYS   0x00000004
 
#define PKCS12_EXPORT_RESERVED_MASK   0xffff0000
 
#define CRYPT_USERDATA   0x00000001
 
#define CryptAcquireContext   WINELIB_NAME_AW(CryptAcquireContext)
 
#define CryptEnumProviders   WINELIB_NAME_AW(CryptEnumProviders)
 
#define CryptEnumProviderTypes   WINELIB_NAME_AW(CryptEnumProviderTypes)
 
#define CryptGetDefaultProvider   WINELIB_NAME_AW(CryptGetDefaultProvider)
 
#define CryptSetProvider   WINELIB_NAME_AW(CryptSetProvider)
 
#define CryptSetProviderEx   WINELIB_NAME_AW(CryptSetProviderEx)
 
#define CryptSignHash   WINELIB_NAME_AW(CryptSignHash)
 
#define CryptVerifySignature   WINELIB_NAME_AW(CryptVerifySignature)
 
#define CryptBinaryToString   WINELIB_NAME_AW(CryptBinaryToString)
 
#define CryptStringToBinary   WINELIB_NAME_AW(CryptStringToBinary)
 
#define CertOpenSystemStore   WINELIB_NAME_AW(CertOpenSystemStore)
 
#define CertAddEncodedCertificateToSystemStore   WINELIB_NAME_AW(CertAddEncodedCertificateToSystemStore)
 
#define CertGetNameString   WINELIB_NAME_AW(CertGetNameString)
 
#define CertRDNValueToStr   WINELIB_NAME_AW(CertRDNValueToStr)
 
#define CertNameToStr   WINELIB_NAME_AW(CertNameToStr)
 
#define CertStrToName   WINELIB_NAME_AW(CertStrToName)
 
#define CryptRetrieveObjectByUrl   WINELIB_NAME_AW(CryptRetrieveObjectByUrl)
 

Typedefs

typedef unsigned int ALG_ID
 
typedef ULONG_PTR HCRYPTPROV
 
typedef ULONG_PTR HCRYPTPROV_OR_NCRYPT_KEY_HANDLE
 
typedef ULONG_PTR HCRYPTPROV_LEGACY
 
typedef ULONG_PTR HCRYPTKEY
 
typedef ULONG_PTR HCRYPTHASH
 
typedef voidHCERTSTORE
 
typedef voidHCRYPTMSG
 
typedef voidHCERTSTOREPROV
 
typedef voidHCRYPTOIDFUNCSET
 
typedef voidHCRYPTOIDFUNCADDR
 
typedef voidHCRYPTDEFAULTCONTEXT
 
typedef struct _PROV_ENUMALGS PROV_ENUMALGS
 
typedef struct _PROV_ENUMALGS_EX PROV_ENUMALGS_EX
 
typedef struct _SCHANNEL_ALG SCHANNEL_ALG
 
typedef struct _SCHANNEL_ALGPSCHANNEL_ALG
 
typedef struct _HMAC_INFO HMAC_INFO
 
typedef struct _HMAC_INFOPHMAC_INFO
 
typedef struct _CRYPTOAPI_BLOB CRYPT_INTEGER_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_INTEGER_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRYPT_UINT_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_UINT_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRYPT_OBJID_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_OBJID_BLOB
 
typedef struct _CRYPTOAPI_BLOB CERT_NAME_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCERT_NAME_BLOB
 
typedef struct _CRYPTOAPI_BLOB CERT_RDN_VALUE_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCERT_RDN_VALUE_BLOB
 
typedef struct _CRYPTOAPI_BLOB CERT_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCERT_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRL_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRL_BLOB
 
typedef struct _CRYPTOAPI_BLOB DATA_BLOB
 
typedef struct _CRYPTOAPI_BLOBPDATA_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRYPT_DATA_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_DATA_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRYPT_HASH_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_HASH_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRYPT_DIGEST_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_DIGEST_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRYPT_DER_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_DER_BLOB
 
typedef struct _CRYPTOAPI_BLOB CRYPT_ATTR_BLOB
 
typedef struct _CRYPTOAPI_BLOBPCRYPT_ATTR_BLOB
 
typedef struct
_CRYPTPROTECT_PROMPTSTRUCT 
CRYPTPROTECT_PROMPTSTRUCT
 
typedef struct
_CRYPTPROTECT_PROMPTSTRUCT
PCRYPTPROTECT_PROMPTSTRUCT
 
typedef struct
_CRYPT_ALGORITHM_IDENTIFIER 
CRYPT_ALGORITHM_IDENTIFIER
 
typedef struct
_CRYPT_ALGORITHM_IDENTIFIER
PCRYPT_ALGORITHM_IDENTIFIER
 
typedef struct
_CRYPT_ATTRIBUTE_TYPE_VALUE 
CRYPT_ATTRIBUTE_TYPE_VALUE
 
typedef struct
_CRYPT_ATTRIBUTE_TYPE_VALUE
PCRYPT_ATTRIBUTE_TYPE_VALUE
 
typedef struct _PUBLICKEYSTRUC BLOBHEADER
 
typedef struct _PUBLICKEYSTRUC PUBLICKEYSTRUC
 
typedef struct _RSAPUBKEY RSAPUBKEY
 
typedef struct _PUBKEY DHPUBKEY
 
typedef struct _PUBKEY DSSPUBKEY
 
typedef struct _PUBKEY KEAPUBKEY
 
typedef struct _PUBKEY TEKPUBKEY
 
typedef struct _DSSSEED DSSSEED
 
typedef struct _PUBKEYVER3 DHPUBKEY_VER3
 
typedef struct _PUBKEYVER3 DSSPUBKEY_VER3
 
typedef struct _PRIVKEYVER3 DHPRIVKEY_VER3
 
typedef struct _PRIVKEYVER3 DSSPRIVKEY_VER3
 
typedef struct _KEY_TYPE_SUBTYPE KEY_TYPE_SUBTYPE
 
typedef struct _KEY_TYPE_SUBTYPEPKEY_TYPE_SUBTYPE
 
typedef struct
_CERT_FORTEZZA_DATA_PROP 
CERT_FORTEZZA_DATA_PROP
 
typedef struct _CMS_DH_KEY_INFO CMS_DH_KEY_INFO
 
typedef struct _CMS_DH_KEY_INFOPCMS_DH_KEY_INFO
 
typedef struct _CRYPT_BIT_BLOB CRYPT_BIT_BLOB
 
typedef struct _CRYPT_BIT_BLOBPCRYPT_BIT_BLOB
 
typedef struct
_CRYPT_KEY_PROV_PARAM 
CRYPT_KEY_PROV_PARAM
 
typedef struct
_CRYPT_KEY_PROV_PARAM
PCRYPT_KEY_PROV_PARAM
 
typedef struct _CRYPT_KEY_PROV_INFO CRYPT_KEY_PROV_INFO
 
typedef struct
_CRYPT_KEY_PROV_INFO
PCRYPT_KEY_PROV_INFO
 
typedef struct _CERT_KEY_CONTEXT CERT_KEY_CONTEXT
 
typedef struct _CERT_KEY_CONTEXTPCERT_KEY_CONTEXT
 
typedef struct
_CERT_PUBLIC_KEY_INFO 
CERT_PUBLIC_KEY_INFO
 
typedef struct
_CERT_PUBLIC_KEY_INFO
PCERT_PUBLIC_KEY_INFO
 
typedef struct _CERT_EXTENSION CERT_EXTENSION
 
typedef struct _CERT_EXTENSIONPCERT_EXTENSION
 
typedef struct _CERT_EXTENSIONS CERT_EXTENSIONS
 
typedef struct _CERT_EXTENSIONSPCERT_EXTENSIONS
 
typedef struct _CERT_INFO CERT_INFO
 
typedef struct _CERT_INFOPCERT_INFO
 
typedef struct _CERT_RDN_ATTR CERT_RDN_ATTR
 
typedef struct _CERT_RDN_ATTRPCERT_RDN_ATTR
 
typedef struct _CERT_RDN CERT_RDN
 
typedef struct _CERT_RDNPCERT_RDN
 
typedef struct _CERT_NAME_INFO CERT_NAME_INFO
 
typedef struct _CERT_NAME_INFOPCERT_NAME_INFO
 
typedef struct _CERT_NAME_VALUE CERT_NAME_VALUE
 
typedef struct _CERT_NAME_VALUEPCERT_NAME_VALUE
 
typedef struct
_CERT_ENCRYPTED_PRIVATE_KEY_INFO 
CERT_ENCRYPTED_PRIVATE_KEY_INFO
 
typedef struct
_CERT_ENCRYPTED_PRIVATE_KEY_INFO
PCERT_ENCRYPTED_PRIVATE_KEY_INFO
 
typedef struct
_CERT_AUTHORITY_KEY_ID_INFO 
CERT_AUTHORITY_KEY_ID_INFO
 
typedef struct
_CERT_AUTHORITY_KEY_ID_INFO
PCERT_AUTHORITY_KEY_ID_INFO
 
typedef struct
_CERT_PRIVATE_KEY_VALIDITY 
CERT_PRIVATE_KEY_VALIDITY
 
typedef struct
_CERT_PRIVATE_KEY_VALIDITY
PCERT_PRIVATE_KEY_VALIDITY
 
typedef struct
_CERT_KEY_ATTRIBUTES_INFO 
CERT_KEY_ATTRIBUTES_INFO
 
typedef struct
_CERT_KEY_ATTRIBUTES_INFO
PCERT_KEY_ATTRIBUTES_INFO
 
typedef struct _CERT_ECC_SIGNATURE CERT_ECC_SIGNATURE
 
typedef struct
_CERT_ECC_SIGNATURE
PCERT_ECC_SIGNATURE
 
typedef struct _CERT_POLICY_ID CERT_POLICY_ID
 
typedef struct _CERT_POLICY_IDPCERT_POLICY_ID
 
typedef struct
_CERT_KEY_USAGE_RESTRICTION_INFO 
CERT_KEY_USAGE_RESTRICTION_INFO
 
typedef struct
_CERT_KEY_USAGE_RESTRICTION_INFO
PCERT_KEY_USAGE_RESTRICTION_INFO
 
typedef struct _CERT_OTHER_NAME CERT_OTHER_NAME
 
typedef struct _CERT_OTHER_NAMEPCERT_OTHER_NAME
 
typedef struct _CERT_ALT_NAME_ENTRY CERT_ALT_NAME_ENTRY
 
typedef struct
_CERT_ALT_NAME_ENTRY
PCERT_ALT_NAME_ENTRY
 
typedef struct _CERT_ALT_NAME_INFO CERT_ALT_NAME_INFO
 
typedef struct
_CERT_ALT_NAME_INFO
PCERT_ALT_NAME_INFO
 
typedef struct
_CERT_BASIC_CONSTRAINTS_INFO 
CERT_BASIC_CONSTRAINTS_INFO
 
typedef struct
_CERT_BASIC_CONSTRAINTS_INFO
PCERT_BASIC_CONSTRAINTS_INFO
 
typedef struct
_CERT_BASIC_CONSTRAINTS2_INFO 
CERT_BASIC_CONSTRAINTS2_INFO
 
typedef struct
_CERT_BASIC_CONSTRAINTS2_INFO
PCERT_BASIC_CONSTRAINTS2_INFO
 
typedef struct
_CERT_POLICY_QUALIFIER_INFO 
CERT_POLICY_QUALIFIER_INFO
 
typedef struct
_CERT_POLICY_QUALIFIER_INFO
PCERT_POLICY_QUALIFIER_INFO
 
typedef struct _CERT_POLICY_INFO CERT_POLICY_INFO
 
typedef struct _CERT_POLICY_INFOPCERT_POLICY_INFO
 
typedef struct _CERT_POLICIES_INFO CERT_POLICIES_INFO
 
typedef struct
_CERT_POLICIES_INFO
PCERT_POLICIES_INFO
 
typedef struct
_CERT_POLICY_QUALIFIER_NOTICE_REFERENCE 
CERT_POLICY_QUALIFIER_NOTICE_REFERENCE
 
typedef struct
_CERT_POLICY_QUALIFIER_NOTICE_REFERENCE
PCERT_POLICY_QUALIFIER_NOTICE_REFERENCE
 
typedef struct
_CERT_POLICY_QUALIFIER_USER_NOTICE 
CERT_POLICY_QUALIFIER_USER_NOTICE
 
typedef struct
_CERT_POLICY_QUALIFIER_USER_NOTICE
PCERT_POLICY_QUALIFIER_USER_NOTICE
 
typedef struct _CPS_URLS CPS_URLS
 
typedef struct _CPS_URLSPCPS_URLS
 
typedef struct
_CERT_POLICY95_QUALIFIER1 
CERT_POLICY95_QUALIFIER1
 
typedef struct
_CERT_POLICY95_QUALIFIER1
PCERT_POLICY95_QUALIFIER1
 
typedef struct _CERT_POLICY_MAPPING CERT_POLICY_MAPPING
 
typedef struct
_CERT_POLICY_MAPPING
PCERT_POLICY_MAPPING
 
typedef struct
_CERT_POLICY_MAPPINGS_INFO 
CERT_POLICY_MAPPINGS_INFO
 
typedef struct
_CERT_POLICY_MAPPINGS_INFO
PCERT_POLICY_MAPPINGS_INFO
 
typedef struct
_CERT_POLICY_CONSTRAINTS_INFO 
CERT_POLICY_CONSTRAINTS_INFO
 
typedef struct
_CERT_POLICY_CONSTRAINTS_INFO
PCERT_POLICY_CONSTRAINTS_INFO
 
typedef struct
_CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY 
CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY
 
typedef struct
_CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY
PCRYPT_CONTENT_INFO_SEQUENCE_OF_ANY
 
typedef struct _CRYPT_CONTENT_INFO CRYPT_CONTENT_INFO
 
typedef struct
_CRYPT_CONTENT_INFO
PCRYPT_CONTENT_INFO
 
typedef struct
_CRYPT_SEQUENCE_OF_ANY 
CRYPT_SEQUENCE_OF_ANY
 
typedef struct
_CRYPT_SEQUENCE_OF_ANY
PCRYPT_SEQUENCE_OF_ANY
 
typedef struct
_CERT_AUTHORITY_KEY_ID2_INFO 
CERT_AUTHORITY_KEY_ID2_INFO
 
typedef struct
_CERT_AUTHORITY_KEY_ID2_INFO
PCERT_AUTHORITY_KEY_ID2_INFO
 
typedef struct
_CERT_ACCESS_DESCRIPTION 
CERT_ACCESS_DESCRIPTION
 
typedef struct
_CERT_ACCESS_DESCRIPTION
PCERT_ACCESS_DESCRIPTION
 
typedef struct
_CERT_AUTHORITY_INFO_ACCESS 
CERT_AUTHORITY_INFO_ACCESS
 
typedef struct
_CERT_AUTHORITY_INFO_ACCESS
PCERT_AUTHORITY_INFO_ACCESS
 
typedef struct _CERT_CONTEXT CERT_CONTEXT
 
typedef struct _CERT_CONTEXTPCERT_CONTEXT
 
typedef const CERT_CONTEXTPCCERT_CONTEXT
 
typedef struct _CRL_ENTRY CRL_ENTRY
 
typedef struct _CRL_ENTRYPCRL_ENTRY
 
typedef struct _CRL_INFO CRL_INFO
 
typedef struct _CRL_INFOPCRL_INFO
 
typedef struct _CRL_DIST_POINT_NAME CRL_DIST_POINT_NAME
 
typedef struct
_CRL_DIST_POINT_NAME
PCRL_DIST_POINT_NAME
 
typedef struct _CRL_DIST_POINT CRL_DIST_POINT
 
typedef struct _CRL_DIST_POINTPCRL_DIST_POINT
 
typedef struct
_CRL_DIST_POINTS_INFO 
CRL_DIST_POINTS_INFO
 
typedef struct
_CRL_DIST_POINTS_INFO
PCRL_DIST_POINTS_INFO
 
typedef struct
_CROSS_CERT_DIST_POINTS_INFO 
CROSS_CERT_DIST_POINTS_INFO
 
typedef struct
_CROSS_CERT_DIST_POINTS_INFO
PCROSS_CERT_DIST_POINTS_INFO
 
typedef struct _CERT_PAIR CERT_PAIR
 
typedef struct _CERT_PAIRPCERT_PAIR
 
typedef struct
_CRL_ISSUING_DIST_POINT 
CRL_ISSUING_DIST_POINT
 
typedef struct
_CRL_ISSUING_DIST_POINT
PCRL_ISSUING_DIST_POINT
 
typedef struct
_CERT_GENERAL_SUBTREE 
CERT_GENERAL_SUBTREE
 
typedef struct
_CERT_GENERAL_SUBTREE
PCERT_GENERAL_SUBTREE
 
typedef struct
_CERT_NAME_CONSTRAINTS_INFO 
CERT_NAME_CONSTRAINTS_INFO
 
typedef struct
_CERT_NAME_CONSTRAINTS_INFO
PCERT_NAME_CONSTRAINTS_INFO
 
typedef struct _CRYPT_ATTRIBUTE CRYPT_ATTRIBUTE
 
typedef struct _CRYPT_ATTRIBUTEPCRYPT_ATTRIBUTE
 
typedef struct _CRYPT_ATTRIBUTES CRYPT_ATTRIBUTES
 
typedef struct _CRYPT_ATTRIBUTESPCRYPT_ATTRIBUTES
 
typedef struct _CERT_REQUEST_INFO CERT_REQUEST_INFO
 
typedef struct _CERT_REQUEST_INFOPCERT_REQUEST_INFO
 
typedef struct
_CERT_KEYGEN_REQUEST_INFO 
CERT_KEYGEN_REQUEST_INFO
 
typedef struct
_CERT_KEYGEN_REQUEST_INFO
PCERT_KEYGEN_REQUEST_INFO
 
typedef struct
_CERT_SIGNED_CONTENT_INFO 
CERT_SIGNED_CONTENT_INFO
 
typedef struct
_CERT_SIGNED_CONTENT_INFO
PCERT_SIGNED_CONTENT_INFO
 
typedef struct _CRL_CONTEXT CRL_CONTEXT
 
typedef struct _CRL_CONTEXTPCRL_CONTEXT
 
typedef const CRL_CONTEXTPCCRL_CONTEXT
 
typedef struct _CERT_DSS_PARAMETERS CERT_DSS_PARAMETERS
 
typedef struct
_CERT_DSS_PARAMETERS
PCERT_DSS_PARAMETERS
 
typedef struct _CERT_DH_PARAMETERS CERT_DH_PARAMETERS
 
typedef struct
_CERT_DH_PARAMETERS
PCERT_DH_PARAMETERS
 
typedef struct
_CERT_X942_DH_VALIDATION_PARAMS 
CERT_X942_DH_VALIDATION_PARAMS
 
typedef struct
_CERT_X942_DH_VALIDATION_PARAMS
PCERT_X942_DH_VALIDATION_PARAMS
 
typedef struct
_CERT_X942_DH_PARAMETERS 
CERT_X942_DH_PARAMETERS
 
typedef struct
_CERT_X942_DH_PARAMETERS
PCERT_X942_DH_PARAMETERS
 
typedef struct
_CRYPT_X942_OTHER_INFO 
CRYPT_X942_OTHER_INFO
 
typedef struct
_CRYPT_X942_OTHER_INFO
PCRYPT_X942_OTHER_INFO
 
typedef struct
_CRYPT_RC2_CBC_PARAMETERS 
CRYPT_RC2_CBC_PARAMETERS
 
typedef struct
_CRYPT_RC2_CBC_PARAMETERS
PCRYPT_RC2_CBC_PARAMETERS
 
typedef struct
_CRYPT_SMIME_CAPABILITY 
CRYPT_SMIME_CAPABILITY
 
typedef struct
_CRYPT_SMIME_CAPABILITY
PCRYPT_SMIME_CAPABILITY
 
typedef struct
_CRYPT_SMIME_CAPABILITIES 
CRYPT_SMIME_CAPABILITIES
 
typedef struct
_CRYPT_SMIME_CAPABILITIES
PCRYPT_SMIME_CAPABILITIES
 
typedef struct _VTableProvStruc VTableProvStruc
 
typedef struct _VTableProvStrucPVTableProvStruc
 
typedef struct
_CERT_PRIVATE_KEY_INFO 
CERT_PRIVATE_KEY_INFO
 
typedef struct
_CERT_PRIVATE_KEY_INFO
PCERT_PRIVATE_KEY_INFO
 
typedef struct _CTL_USAGE CTL_USAGE
 
typedef struct _CTL_USAGEPCTL_USAGE
 
typedef struct _CTL_USAGE CERT_ENHKEY_USAGE
 
typedef struct _CTL_USAGEPCERT_ENHKEY_USAGE
 
typedef struct _CTL_ENTRY CTL_ENTRY
 
typedef struct _CTL_ENTRYPCTL_ENTRY
 
typedef struct _CTL_INFO CTL_INFO
 
typedef struct _CTL_INFOPCTL_INFO
 
typedef struct _CTL_CONTEXT CTL_CONTEXT
 
typedef struct _CTL_CONTEXTPCTL_CONTEXT
 
typedef const CTL_CONTEXTPCCTL_CONTEXT
 
typedef struct
_CRYPT_TIME_STAMP_REQUEST_INFO 
CRYPT_TIME_STAMP_REQUEST_INFO
 
typedef struct
_CRYPT_TIME_STAMP_REQUEST_INFO
PCRYPT_TIME_STAMP_REQUEST_INFO
 
typedef struct
_CRYPT_ENROLLMENT_NAME_VALUE_PAIR 
CRYPT_ENROLLMENT_NAME_VALUE_PAIR
 
typedef struct
_CRYPT_ENROLLMENT_NAME_VALUE_PAIR
PCRYPT_ENROLLMENT_NAME_VALUE_PAIR
 
typedef struct _CMSG_SIGNER_INFO CMSG_SIGNER_INFO
 
typedef struct _CMSG_SIGNER_INFOPCMSG_SIGNER_INFO
 
typedef struct
_CERT_REVOCATION_CRL_INFO 
CERT_REVOCATION_CRL_INFO
 
typedef struct
_CERT_REVOCATION_CRL_INFO
PCERT_REVOCATION_CRL_INFO
 
typedef struct
_CERT_REVOCATION_INFO 
CERT_REVOCATION_INFO
 
typedef struct
_CERT_REVOCATION_INFO
PCERT_REVOCATION_INFO
 
typedef struct
_CERT_REVOCATION_PARA 
CERT_REVOCATION_PARA
 
typedef struct
_CERT_REVOCATION_PARA
PCERT_REVOCATION_PARA
 
typedef struct
_CTL_VERIFY_USAGE_PARA 
CTL_VE