PKIFTSP.h

Go to the documentation of this file.
00001 
00010 #ifndef __PKIFTSP_H__
00011 #define __PKIFTSP_H__
00012 
00013 #include "PKIFTSPDLL.h"
00014 #include "OID.h"
00015 
00016 extern PKIFTSP_API CPKIFOIDPtr g_tstInfo;
00017 extern PKIFTSP_API CPKIFOIDPtr g_tsReq;
00018 
00019 
00020 //*****************************************************************
00021 //  Timestamp request/response structures and utility objects
00022 //      - implemented in PKIFTSP_helpers.cpp
00023 //*****************************************************************
00024 
00025 //enum to specify status info (that is encoded as an integer)
00026 //this must stay in harmony with whatever the underlying 
00027 //asn1 compiler enum values are (i.e. the values below match
00028 //the structure created by the Objective compiler).
00031 enum PKIStatus 
00032 {
00033     GRANTED = 0, 
00034     GRANTEDWITHMODS, 
00035     REJECTION, 
00036     WAITING, 
00037     REVOCATIONWARNING,
00038     REVOCATIONNOTIFICATION
00039 };
00040 
00041 // enum(!) to specify failure info that's encoded as a bit string
00044 enum PKIFailureInfo 
00045 {
00046     BADALG = 0, 
00047     BADREQUEST,             // = 2, 
00048     BADDATAFORMAT,          // = 5, 
00049     TIMENOTAVAILABLE,       // = 14, 
00050     UNACCEPTEDPOLICY,       // = 15,
00051     UNACCEPTEDEXTENSION,    // = 16, 
00052     ADDINFONOTAVAILABLE,    //= 17, 
00053     SYSTEMFAILURE           // = 25
00054 };
00055 
00056 
00057 #include "Accuracy.h"
00058 #include "MessageImprint.h"
00059 #include "PKIStatusInfo.h"
00060 #include "TSPException.h"
00061 #include "TSTInfo.h"
00062 #include "TimeStampRequest.h"
00063 #include "TimeStampResponse.h"
00064 #include "TimestampVerifier.h"
00065 
00066 
00067 #endif // __PKIFTSP_H__

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