public DateTime getNextUpdate() { if (resp.getNextUpdate() == null) { throw new OCSPException("Next update time has not been specified."); } return(resp.getNextUpdate().toDateTime()); }