summaryrefslogtreecommitdiffstats
path: root/base/common/src
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2016-03-01 20:46:49 -0500
committerFraser Tweedale <ftweedal@redhat.com>2016-03-03 17:19:49 -0500
commit04214b3d3405750cbbda228554c0d9f087a59170 (patch)
tree3bd51b1de1cb95d229994b0f58331a3a0cb4c9a9 /base/common/src
parentafe1d7205ae32c272e15dbf42475da4a79b5c9bc (diff)
downloadpki-04214b3d3405750cbbda228554c0d9f087a59170.tar.gz
pki-04214b3d3405750cbbda228554c0d9f087a59170.tar.xz
pki-04214b3d3405750cbbda228554c0d9f087a59170.zip
Move OCSP digest name lookup to CertID class
The OCSP digest name lookup is currently defined in IOCSPAuthority and implemented by OCSPAuthority, but /any/ code that deals with CertID might need to know the digest, so move the lookup there. Also refactor the lookup to use a HashMap, and add mappings for SHA2 algorithms.
Diffstat (limited to 'base/common/src')
-rw-r--r--base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java b/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java
index 6164b4917..3264d2ce5 100644
--- a/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java
+++ b/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java
@@ -144,15 +144,6 @@ public interface IOCSPAuthority extends ISubsystem {
public X500Name getName();
/**
- * This method retrieves an OCSP server instance digest name as a string.
- * <P>
- *
- * @param alg the signing algorithm
- * @return String the digest name of the related OCSP server
- */
- public String getDigestName(AlgorithmIdentifier alg);
-
- /**
* This method signs the basic OCSP response data provided as a parameter.
* <P>
*