fi.hut.tcm.repository
Class SPKICertificateRepository

java.lang.Object
  |
  +--fi.hut.tcm.repository.CertificateRepository
        |
        +--fi.hut.tcm.repository.SPKICertificateRepository
Direct Known Subclasses:
LocalSPKIRepository

public abstract class SPKICertificateRepository
extends CertificateRepository

SPKICertificateRepository The SPKICertificateRepository is an abstract class for storing and retrieving SPKICertificates.


Field Summary
private static SPKICertificateRepository repository
           
 
Fields inherited from class fi.hut.tcm.repository.CertificateRepository
type
 
Constructor Summary
protected SPKICertificateRepository()
           
 
Method Summary
abstract  java.util.Vector getCertsByIssuer(Issuer issuer)
           
 java.util.Vector getCertsByIssuer(java.lang.Object issuer)
           
 java.util.Vector getCertsBySubject(java.lang.Object subject)
           
abstract  java.util.Vector getCertsBySubject(Subject subject)
           
static SPKICertificateRepository getInstance()
          Returns an instance of the implementation specified in the security configuration file.
 
Methods inherited from class fi.hut.tcm.repository.CertificateRepository
add, load, remove, save
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

repository

private static SPKICertificateRepository repository
Constructor Detail

SPKICertificateRepository

protected SPKICertificateRepository()
Method Detail

getCertsByIssuer

public abstract java.util.Vector getCertsByIssuer(Issuer issuer)

getCertsBySubject

public abstract java.util.Vector getCertsBySubject(Subject subject)

getInstance

public static SPKICertificateRepository getInstance()
                                             throws java.lang.InstantiationException,
                                                    java.lang.ClassNotFoundException,
                                                    java.lang.IllegalAccessException
Returns an instance of the implementation specified in the security configuration file.

getCertsByIssuer

public java.util.Vector getCertsByIssuer(java.lang.Object issuer)
                                  throws java.lang.Exception
Overrides:
getCertsByIssuer in class CertificateRepository

getCertsBySubject

public java.util.Vector getCertsBySubject(java.lang.Object subject)
                                   throws java.lang.Exception
Overrides:
getCertsBySubject in class CertificateRepository