25 #ifndef __ASN1CGENTIME_H__ 26 #define __ASN1CGENTIME_H__ 51 #ifndef _NO_UTILS_CLASSES 68 virtual ASN1TTime& getTimeObj () {
return timeObj; }
69 virtual const ASN1TTime& getTimeObj ()
const {
return timeObj; }
73 EXTRTMETHOD ASN1CGeneralizedTime(ASN1GeneralizedTime& buf,
74 OSBOOL useDerRules = FALSE);
88 EXTRTMETHOD ASN1CGeneralizedTime(OSRTMessageBufferIF& msgBuf,
char*& buf,
int bufSize,
89 OSBOOL useDerRules = FALSE);
103 EXTRTMETHOD ASN1CGeneralizedTime(OSRTMessageBufferIF& msgBuf, ASN1GeneralizedTime& buf,
104 OSBOOL useDerRules = FALSE);
119 EXTRTMETHOD ASN1CGeneralizedTime(
OSRTContext& ctxt,
char*& buf,
int bufSize,
120 OSBOOL useDerRules = FALSE);
135 EXTRTMETHOD ASN1CGeneralizedTime(
OSRTContext& ctxt, ASN1GeneralizedTime& buf,
136 OSBOOL useDerRules = FALSE);
159 EXTRTMETHOD
int getCentury();
170 EXTRTMETHOD
int setCentury(
short century);
188 EXTRTMETHOD
int setTime(time_t time, OSBOOL diffTime);
190 const ASN1CGeneralizedTime&
operator = (
const ASN1CGeneralizedTime& tm) {
203 typedef class _ASN1CGeneralizedTime :
public _ASN1CTime {
205 _ASN1CGeneralizedTime(
char*& buf,
int bufSize, OSBOOL useDerRules) {}
206 _ASN1CGeneralizedTime(ASN1VisibleString& buf, OSBOOL useDerRules) {}
208 _ASN1CGeneralizedTime (OSRTMessageBufferIF& msgBuf,
char*& buf,
int sz,
209 OSBOOL useDerRules = FALSE) :
210 _ASN1CTime (msgBuf, buf, sz, useDerRules) {}
211 _ASN1CGeneralizedTime (OSRTMessageBufferIF& msgBuf, ASN1VisibleString& buf,
212 OSBOOL useDerRules = FALSE) :
213 _ASN1CTime (msgBuf, buf, useDerRules) {}
214 _ASN1CGeneralizedTime(
OSRTContext& ctxt,
char*& buf,
int bufSize,
215 OSBOOL useDerRules) : _ASN1CTime (ctxt, buf, bufSize, useDerRules) {}
216 _ASN1CGeneralizedTime(
OSRTContext& ctxt, ASN1VisibleString& buf,
217 OSBOOL useDerRules) : _ASN1CTime (ctxt, buf, bufSize, useDerRules) {}
219 #endif // _NO_UTILS_CLASSES 225 #endif //__ASN1CGENTIME_H__ Definition: ASN1TTime.h:66
virtual int setTime(time_t time, OSBOOL diffTime)=0
Definition: ASN1CTime.h:85
EXTRTMETHOD const ASN1CTime & operator=(const ASN1CTime &)
Definition: ASN1TTime.h:690
Definition: ASN1CGeneralizedTime.h:64
Definition: OSRTContext.h:64
ASN1CGeneralizedTime(const ASN1CGeneralizedTime &original)
Definition: ASN1CGeneralizedTime.h:146
virtual int compileString()=0