TTime COCSPValidator::ValidationTime() const { __ASSERT_ALWAYS(iResponse, Panic(KErrNotReady)); if (iValidationTime) { return *iValidationTime; } else { TTime gmt; // if secure time is not available then fall back to the insecure version. if(gmt.UniversalTimeSecure() == KErrNoSecureTime) { gmt.UniversalTime(); } return gmt; } }