00001 00009 // PKIFSCVP.cpp : Defines the entry point for the DLL application. 00010 // 00011 00012 //#include "stdafx.h" 00013 #include "PKIFSCVP.h" 00014 00015 PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_certValRequest 00016 (new CPKIFOID(CPKIFStringPtr(new std::string("1.2.840.113549.1.9.16.1.10"))));//id-ct-scvp-certValRequest 00017 00018 PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_certValResponse 00019 (new CPKIFOID(CPKIFStringPtr(new std::string("1.2.840.113549.1.9.16.1.11"))));//id-ct-scvp-certValResponse 00020 00021 PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_valPolRequest 00022 (new CPKIFOID(CPKIFStringPtr(new std::string("1.2.840.113549.1.9.16.1.12"))));//id-ct-scvp-valPolRequest 00023 00024 PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_valPolResponse 00025 (new CPKIFOID(CPKIFStringPtr(new std::string("1.2.840.113549.1.9.16.1.13"))));//id-ct-scvp-valPolResponse 00026 00027 PKIFSCVP_API CPKIFOIDPtr g_id_stc_build_pkc_path 00028 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.17.1"))));//id_stc_build_pkc_path 00029 00030 PKIFSCVP_API CPKIFOIDPtr g_id_stc_build_valid_pkc_path 00031 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.17.2"))));//id_stc_build_valid_pkc_path 00032 00033 PKIFSCVP_API CPKIFOIDPtr g_id_stc_build_status_checked_pkc_path 00034 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.17.3"))));//id_stc_build_status_checked_pkc_path 00035 00036 00037 //Basic Validation Algorithm Errors 00038 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_expired 00039 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.1"))));//id_stc_build_status_checked_pkc_path 00040 00041 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_not_yet_valid 00042 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.2"))));//id_stc_build_status_checked_pkc_path 00043 00044 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_wrongTrustAnchor 00045 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.3"))));//id_stc_build_status_checked_pkc_path 00046 00047 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_noValidCertPath 00048 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.4"))));//id_stc_build_status_checked_pkc_path 00049 00050 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_revocked 00051 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.5"))));//id_stc_build_status_checked_pkc_path 00052 00053 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_invalidKeyPurpose 00054 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.9"))));//id_stc_build_status_checked_pkc_path 00055 00056 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_invalidKeyUsage 00057 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.10"))));//id_stc_build_status_checked_pkc_path 00058 00059 PKIFSCVP_API CPKIFOIDPtr g_id_bvae_invalidKeyCertPolicy 00060 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.3.11"))));//id_stc_build_status_checked_pkc_path 00061 00062 //Default val pol 00063 PKIFSCVP_API CPKIFOIDPtr g_id_svp_defaultValPolicy 00064 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.19.1"))));//id-svp-defaultValPolicy 00065 00066 //Want Backs 00067 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_best_cert_path 00068 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.1"))));//id_swb_pkc_best_cert_path 00069 00070 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_revocation_info 00071 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.2"))));//id_swb_pkc_revocation_info 00072 00073 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_public_key_info 00074 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.4"))));//id_swb_pkc_public_key_info 00075 00076 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_relayed_responses 00077 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.9"))));//id_swb_pkc_relayed_responses 00078 00079 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_cert 00080 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.10"))));//id_swb_pkc_cert 00081 00082 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_all_cert_paths 00083 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.12"))));//id_swb_pkc_all_cert_paths 00084 00085 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_ee_revocation_info 00086 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.13"))));//id_swb_pkc_ee_revocation_info 00087 00088 PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_CAs_revocation_info 00089 (new CPKIFOID(CPKIFStringPtr(new std::string("1.3.6.1.5.5.7.18.14"))));//id_swb_pkc_CAs_revocation_info