25 #ifndef __ASN1CGENTIME_H__ 26 #define __ASN1CGENTIME_H__ 54 #ifndef _NO_UTILS_CLASSES 71 virtual ASN1TTime& getTimeObj () {
return timeObj; }
72 virtual const ASN1TTime& getTimeObj ()
const {
return timeObj; }
76 EXTRTMETHOD ASN1CGeneralizedTime(ASN1GeneralizedTime& buf,
77 OSBOOL useDerRules = FALSE);
91 EXTRTMETHOD ASN1CGeneralizedTime(OSRTMessageBufferIF& msgBuf,
char*& buf,
int bufSize,
92 OSBOOL useDerRules = FALSE);
106 EXTRTMETHOD ASN1CGeneralizedTime(OSRTMessageBufferIF& msgBuf, ASN1GeneralizedTime& buf,
107 OSBOOL useDerRules = FALSE);
122 EXTRTMETHOD ASN1CGeneralizedTime(
OSRTContext& ctxt,
char*& buf,
int bufSize,
123 OSBOOL useDerRules = FALSE);
138 EXTRTMETHOD ASN1CGeneralizedTime(
OSRTContext& ctxt, ASN1GeneralizedTime& buf,
139 OSBOOL useDerRules = FALSE);
162 EXTRTMETHOD
int getCentury();
173 EXTRTMETHOD
int setCentury(
short century);
191 EXTRTMETHOD
int setTime(time_t time, OSBOOL diffTime);
193 const ASN1CGeneralizedTime&
operator = (
const ASN1CGeneralizedTime& tm) {
206 typedef class _ASN1CGeneralizedTime :
public _ASN1CTime {
208 _ASN1CGeneralizedTime(
char*& buf,
int bufSize, OSBOOL useDerRules) {}
209 _ASN1CGeneralizedTime(ASN1VisibleString& buf, OSBOOL useDerRules) {}
211 _ASN1CGeneralizedTime (OSRTMessageBufferIF& msgBuf,
char*& buf,
int sz,
212 OSBOOL useDerRules = FALSE) :
213 _ASN1CTime (msgBuf, buf, sz, useDerRules) {}
214 _ASN1CGeneralizedTime (OSRTMessageBufferIF& msgBuf, ASN1VisibleString& buf,
215 OSBOOL useDerRules = FALSE) :
216 _ASN1CTime (msgBuf, buf, useDerRules) {}
217 _ASN1CGeneralizedTime(
OSRTContext& ctxt,
char*& buf,
int bufSize,
218 OSBOOL useDerRules) : _ASN1CTime (ctxt, buf, bufSize, useDerRules) {}
219 _ASN1CGeneralizedTime(
OSRTContext& ctxt, ASN1VisibleString& buf,
220 OSBOOL useDerRules) : _ASN1CTime (ctxt, buf, bufSize, useDerRules) {}
222 #endif // _NO_UTILS_CLASSES 231 #endif //__ASN1CGENTIME_H__ Definition: ASN1TTime.h:71
virtual int setTime(time_t time, OSBOOL diffTime)=0
Definition: ASN1CTime.h:86
EXTRTMETHOD const ASN1CTime & operator=(const ASN1CTime &)
Definition: ASN1TTime.h:692
Definition: ASN1CGeneralizedTime.h:67
Definition: OSRTContext.h:65
ASN1CGeneralizedTime(const ASN1CGeneralizedTime &original)
Definition: ASN1CGeneralizedTime.h:149
virtual int compileString()=0