aboutsummaryrefslogtreecommitdiff
path: root/spss.server/src/at
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-19 07:53:57 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-19 07:53:57 +0000
commit8e1386674cdc36e6c548705f90f4d12cfc88bc88 (patch)
tree4bba871370ef8ccef7735cecfffc5a07fcc56416 /spss.server/src/at
parent21efdc48ab233961ff96d1181d018a61a380d906 (diff)
downloadmoa-id-spss-8e1386674cdc36e6c548705f90f4d12cfc88bc88.tar.gz
moa-id-spss-8e1386674cdc36e6c548705f90f4d12cfc88bc88.tar.bz2
moa-id-spss-8e1386674cdc36e6c548705f90f4d12cfc88bc88.zip
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
Diffstat (limited to 'spss.server/src/at')
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java7
1 files changed, 4 insertions, 3 deletions
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 <code>ConfigurationProvider</code> 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 <code>RevocationProfileImpl</code>.
@@ -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 = "";
}
/**