From fd061712168813934075fc0a1873176561aa4ec0 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Fri, 19 Jan 2007 08:39:41 +0000 Subject: Setting download time in CRL source. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@795 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spss.server/src/at/gv/egovernment/moa') diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java index c8a454e9f..3bfa27ef3 100644 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java +++ b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java @@ -12,6 +12,7 @@ import java.net.MalformedURLException; import java.net.URL; import java.net.URLStreamHandler; import java.util.Collection; +import java.util.Date; import at.gv.egovernment.moa.logging.Logger; @@ -56,6 +57,7 @@ public class CRLRetriever implements RevocationInfoRetriever InputStream crlInputStream = crlUrl.openStream(); source.readFrom(crlInputStream, tid); + source.setDownloadTime(new Date()); crlInputStream.close(); } catch (Exception iox) -- cgit v1.2.3