Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/pdfsignatureutils.cpp
Show First 20 Lines • Show All 246 Lines • ▼ Show 20 Line(s) | 246 | #ifdef HAVE_POPPLER_0_68 | |||
---|---|---|---|---|---|
247 | return m_info.reason(); | 247 | return m_info.reason(); | ||
248 | #else | 248 | #else | ||
249 | return {}; | 249 | return {}; | ||
250 | #endif | 250 | #endif | ||
251 | } | 251 | } | ||
252 | 252 | | |||
253 | QDateTime PopplerSignatureInfo::signingTime() const | 253 | QDateTime PopplerSignatureInfo::signingTime() const | ||
254 | { | 254 | { | ||
255 | return QDateTime::fromTime_t( m_info.signingTime() ); | 255 | return QDateTime::fromSecsSinceEpoch( m_info.signingTime() ); | ||
256 | } | 256 | } | ||
257 | 257 | | |||
258 | QByteArray PopplerSignatureInfo::signature() const | 258 | QByteArray PopplerSignatureInfo::signature() const | ||
259 | { | 259 | { | ||
260 | #ifdef HAVE_POPPLER_0_58 | 260 | #ifdef HAVE_POPPLER_0_58 | ||
261 | return m_info.signature(); | 261 | return m_info.signature(); | ||
262 | #else | 262 | #else | ||
263 | return {}; | 263 | return {}; | ||
Show All 27 Lines |