Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

hk.hku.cecid.phoenix.pki
Class CRLFileSource  view CRLFileSource download CRLFileSource.java

java.lang.Object
  extended byhk.hku.cecid.phoenix.pki.CRLSource
      extended byhk.hku.cecid.phoenix.pki.CRLFileSource

public class CRLFileSource
extends CRLSource

This class extends CRLSource to add initialization procedure for loading a file-based CRL.

Version:
$Revision: 1.5 $

Field Summary
protected  java.io.File crlFile
          The file holding the CRL
 
Fields inherited from class hk.hku.cecid.phoenix.pki.CRLSource
crl, ready
 
Constructor Summary
CRLFileSource()
          Default constructor.
CRLFileSource(java.io.File crlFile)
          Constructor with the file object holding the CRL passed in.
CRLFileSource(java.lang.String crlFile)
          Constructor with the file name of the CRL passed in.
 
Method Summary
 void init()
          Initializes the object.
 
Methods inherited from class hk.hku.cecid.phoenix.pki.CRLSource
getIssuer, getNextUpdate, getThisUpdate, isReady, isRevoked, isRevoked, verifySignature, verifySignature, verifySignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

crlFile

protected java.io.File crlFile
The file holding the CRL

Constructor Detail

CRLFileSource

public CRLFileSource()
Default constructor. It initializes the object. But the object is still unusable until init() is called.


CRLFileSource

public CRLFileSource(java.lang.String crlFile)
Constructor with the file name of the CRL passed in. It initializes the object. But the object is still unusable until init() is called.


CRLFileSource

public CRLFileSource(java.io.File crlFile)
Constructor with the file object holding the CRL passed in. It initializes the object. But the object is still unusable until init() is called.

Method Detail

init

public void init()
          throws java.security.cert.CRLException
Initializes the object. The CRL file is being loaded into the internal CRL object.

Specified by:
init in class CRLSource