25 #ifndef __ASN1CUTCTIME_H__ 26 #define __ASN1CUTCTIME_H__ 53 #ifndef _NO_UTILS_CLASSES 69 virtual ASN1TTime& getTimeObj () {
return timeObj; }
70 virtual const ASN1TTime& getTimeObj ()
const {
return timeObj; }
72 EXTRTMETHOD
ASN1CUTCTime(
char*& buf,
int bufSize, OSBOOL useDerRules = FALSE);
73 EXTRTMETHOD ASN1CUTCTime(ASN1UTCTime& buf, OSBOOL useDerRules = FALSE);
90 EXTRTMETHOD ASN1CUTCTime(OSRTMessageBufferIF& msgBuf,
char*& buf,
int bufSize,
91 OSBOOL useDerRules = FALSE);
106 EXTRTMETHOD ASN1CUTCTime(OSRTMessageBufferIF& msgBuf, ASN1UTCTime& buf,
107 OSBOOL useDerRules = FALSE);
109 EXTRTMETHOD ASN1CUTCTime(
OSRTContext& ctxt,
char*& buf,
int bufSize,
110 OSBOOL useDerRules = FALSE);
112 EXTRTMETHOD ASN1CUTCTime(
OSRTContext& ctxt, ASN1UTCTime& buf,
113 OSBOOL useDerRules = FALSE);
117 ASN1CUTCTime (
const ASN1CUTCTime& original) :
131 EXTRTMETHOD
int setTime(time_t time, OSBOOL diffTime);
133 const ASN1CUTCTime&
operator = (
const ASN1CUTCTime& tm) {
155 #if __cplusplus >= 201103L 161 typedef class _ASN1CUTCTime :
public _ASN1CTime {
163 _ASN1CUTCTime(
char*& buf,
int bufSize, OSBOOL useDerRules) {}
164 _ASN1CUTCTime(ASN1VisibleString& buf, OSBOOL useDerRules) {}
166 _ASN1CUTCTime (OSRTMessageBufferIF& msgBuf,
char*& buf,
int sz,
167 OSBOOL useDerRules = FALSE) :
168 _ASN1CTime (msgBuf, buf, sz, useDerRules) {}
169 _ASN1CUTCTime (OSRTMessageBufferIF& msgBuf, ASN1VisibleString& buf,
170 OSBOOL useDerRules = FALSE) :
171 _ASN1CTime (msgBuf, buf, useDerRules) {}
172 _ASN1CUTCTime(
OSRTContext& ctxt,
char*& buf,
int bufSize,
173 OSBOOL useDerRules) : _ASN1CTime (ctxt, buf, bufSize, useDerRules) {}
174 _ASN1CUTCTime(
OSRTContext& ctxt, ASN1VisibleString& buf,
175 OSBOOL useDerRules) : _ASN1CTime (ctxt, buf, bufSize, useDerRules) {}
177 #endif // _NO_UTILS_CLASSES 178 #endif //__ASN1CUTCTIME_H__ Definition: ASN1TTime.h:66
virtual int setTime(time_t time, OSBOOL diffTime)=0
Definition: ASN1TTime.h:790
Definition: ASN1CTime.h:85
EXTRTMETHOD const ASN1CTime & operator=(const ASN1CTime &)
Definition: ASN1CUTCTime.h:65
Definition: OSRTContext.h:64
virtual EXTRTMETHOD int getFraction()
virtual int compileString()=0
virtual EXTRTMETHOD int setFraction(int fraction, int fracLen=-1)