diff options
author | Adam Young <ayoung@redhat.com> | 2011-11-18 13:56:30 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2012-01-04 11:24:40 -0500 |
commit | 04de68d946118b7c56691da707a01334799f17e8 (patch) | |
tree | d3ab1ebfe2363a2e96d32afa69c63b1a07b50263 /pki/base/ca/src/com/netscape/ca/CertificateAuthority.java | |
parent | 6373ddf8fdb15ecd841735910da728e55ad9582a (diff) | |
download | pki-04de68d946118b7c56691da707a01334799f17e8.tar.gz pki-04de68d946118b7c56691da707a01334799f17e8.tar.xz pki-04de68d946118b7c56691da707a01334799f17e8.zip |
typesafety certserv and cmscore
Using interface instead of implementing class
Diffstat (limited to 'pki/base/ca/src/com/netscape/ca/CertificateAuthority.java')
-rw-r--r-- | pki/base/ca/src/com/netscape/ca/CertificateAuthority.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java b/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java index b1bcb680f..65374ccaf 100644 --- a/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java +++ b/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java @@ -134,7 +134,7 @@ public class CertificateAuthority implements ICertificateAuthority, ICertAuthori protected ISubsystem mOwner = null; protected IConfigStore mConfig = null; protected ILogger mLogger = CMS.getLogger(); - protected Hashtable<String, CRLIssuingPoint> mCRLIssuePoints = new Hashtable<String, CRLIssuingPoint>(); + protected Hashtable<String, ICRLIssuingPoint> mCRLIssuePoints = new Hashtable<String, ICRLIssuingPoint>(); protected CRLIssuingPoint mMasterCRLIssuePoint = null; // the complete crl. protected SigningUnit mSigningUnit; protected SigningUnit mOCSPSigningUnit; @@ -522,7 +522,7 @@ public class CertificateAuthority implements ICertificateAuthority, ICertAuthori * <P> */ public void shutdown() { - Enumeration<CRLIssuingPoint> enums = mCRLIssuePoints.elements(); + Enumeration<ICRLIssuingPoint> enums = mCRLIssuePoints.elements(); while (enums.hasMoreElements()) { CRLIssuingPoint point = (CRLIssuingPoint)enums.nextElement(); point.shutdown(); @@ -668,7 +668,7 @@ public class CertificateAuthority implements ICertificateAuthority, ICertAuthori * <P> * @return security service */ - public Enumeration<CRLIssuingPoint> getCRLIssuingPoints() { + public Enumeration<ICRLIssuingPoint> getCRLIssuingPoints() { return mCRLIssuePoints.elements(); } |