/*** not after ***/ static bool getField_NotAfter ( DecodedItem &item, unsigned index, // which occurrence (0 = first) uint32 &numFields, // RETURNED CssmOwnedData &fieldValue) // RETURNED { const DecodedCert &cert = dynamic_cast<const DecodedCert &>(item); const NSS_Time &srcTime = cert.mCert.tbs.validity.notAfter; return getField_TimeNSS(srcTime, index, numFields, fieldValue); }
static bool getField_NextUpdate ( DecodedItem &item, unsigned index, // which occurrence (0 = first) uint32 &numFields, // RETURNED CssmOwnedData &fieldValue) // RETURNED { const DecodedCrl &crl = dynamic_cast<const DecodedCrl &>(item); const NSS_Time &srcTime = crl.mCrl.tbs.nextUpdate; return getField_TimeNSS(srcTime, index, numFields, fieldValue); }