From 8e1386674cdc36e6c548705f90f4d12cfc88bc88 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Fri, 19 Aug 2005 07:53:57 +0000 Subject: set Hash algorithm for OCSP to "SHA" git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@448 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki') diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java index 164ae8a75..d9f9bc679 100644 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java +++ b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java @@ -22,8 +22,8 @@ public class RevocationProfileImpl implements RevocationProfile { /** The ConfigurationProvider to read the MOA configuration data * from. */ private ConfigurationProvider config; - /** The OCSP request hash algorithm. */ - private String oCSPRequestHashAlgorithm; + /** The OCSP request hash algorithm. Currently only "SHA" is supported. */ + private static final String oCSPRequestHashAlgorithm = "SHA"; /** * Create a new RevocationProfileImpl. @@ -32,7 +32,8 @@ public class RevocationProfileImpl implements RevocationProfile { */ public RevocationProfileImpl(ConfigurationProvider config) { this.config = config; - this.oCSPRequestHashAlgorithm = ""; + // currently only "SHA" is supported +// this.oCSPRequestHashAlgorithm = ""; } /** -- cgit v1.2.3