PKIFSCVP_OIDs.h

Go to the documentation of this file.
00001 
00010 #ifndef __PKIFSCVP_OIDS_H__
00011 #define __PKIFSCVP_OIDS_H__
00012 
00013 #include "OID.h"
00014 
00015 extern PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_certValRequest;
00016 extern PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_certValResponse;
00017 
00018 extern PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_valPolRequest;
00019 extern PKIFSCVP_API CPKIFOIDPtr g_id_ct_scvp_valPolResponse;
00020 
00021 //checks
00022 extern PKIFSCVP_API CPKIFOIDPtr g_id_stc_build_pkc_path;
00023 extern PKIFSCVP_API CPKIFOIDPtr g_id_stc_build_valid_pkc_path;
00024 extern PKIFSCVP_API CPKIFOIDPtr g_id_stc_build_status_checked_pkc_path;
00025 
00026 //Basic Validation Algorithm Errors
00027 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_expired;
00028 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_not_yet_valid;
00029 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_wrongTrustAnchor;
00030 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_noValidCertPath;
00031 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_revocked;
00032 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_invalidKeyPurpose;
00033 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_invalidKeyUsage;
00034 extern PKIFSCVP_API CPKIFOIDPtr g_id_bvae_invalidKeyCertPolicy;
00035 
00036 //default val pol
00037 extern PKIFSCVP_API CPKIFOIDPtr g_id_svp_defaultValPolicy;
00038 
00039 //Want Backs
00040 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_best_cert_path;
00041 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_revocation_info;
00042 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_public_key_info;
00043 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_relayed_responses;
00044 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_cert;
00045 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_all_cert_paths;
00046 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_ee_revocation_info;
00047 extern PKIFSCVP_API CPKIFOIDPtr g_id_swb_pkc_CAs_revocation_info;
00048 
00049 //enum to specify status info (that is encoded as an integer)
00050 //this must stay in harmony with whatever the underlying 
00051 //asn1 compiler enum values are (i.e. the values below match
00052 //the structure created by the Objective compiler).
00053 enum PKIFCVStatus 
00054 {
00055    OKEY = 0,
00056    SKIPUNRECOGNIZEDITEMS = 1,
00057    TOOBUSY = 10,
00058    INVALIDREQUEST = 11,
00059    INTERNALERROR_1 = 12,
00060    BADSTRUCTURE = 20,
00061    UNSUPPORTEDVERSION = 21,
00062    ABORTUNRECOGNIZEDITEMS = 22,
00063    UNRECOGNIZEDSIGKEY = 23,
00064    BADSIGNATUREORMAC = 24,
00065    UNABLETODECODE = 25,
00066    NOTAUTHORIZRED = 26,
00067    UNSUPPORTEDCHECKS = 27,
00068    UNSUPPORTEDWANTBACKS = 28,
00069    UNSUPPORTEDSIGNATUREORMAC = 29,
00070    INVALIDSIGNATUREORMAC = 30,
00071    PROTECTEDRESPONSEUNSUPPORTED = 31,
00072    UNRECOGNIZEDRESPONDERNAME = 32,
00073    RELAYINGLOOP = 40,
00074    UNRECOGNIZEDVALPOL = 50,
00075    UNRECOGNIZEDVALALG = 51,
00076    FULLREQUESTINRESPONSEUNSUPPORTED = 52,
00077    FULLPOLRESPONSEUNSUPPORTED = 53,
00078    INHIBITPOLICYMAPPINGUNSUPPORTED = 54,
00079    REQUIREEXPLICITPOLICYUNSUPPORTED = 55,
00080    INHIBITANYPOLICYUNSUPPORTED = 56,
00081    VALIDITYTIMEUNSUPPORTED = 57,
00082    UNRECOGNIZEDCRITQUERYEXT = 63,
00083    UNRECOGNIZEDCRITREQUESTEXT = 64
00084 };
00085 
00086 // enum(!) to specify failure info that's encoded as a bit string
00089 enum PKIFReplyStatus 
00090 {
00091    SUCCESS = 0,
00092    MALFORMEDPKC = 1,
00093    MALFORMEDAC = 2,
00094    UNAVAILABLEVALIDITYTIME = 3,
00095    REFERENCECERTHASHFAIL = 4,
00096    CERTPATHCONSTRUCTFAIL = 5,
00097    CERTPATHNOTVALID = 6,
00098    CERTPATHNOTVALIDNOW = 7,
00099    WANTBACKUNSATISFIED = 8
00100 };
00101 
00102 #endif

Generated on Mon Nov 15 11:15:55 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6