CRLFileSource

public class CRLFileSource extends CRLSource

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

Author:kcyee

Fields

crlFile

protected File crlFile

The file holding the CRL

Constructors

CRLFileSource

public CRLFileSource()

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

CRLFileSource

public CRLFileSource(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.

Parameters:
  • crlFile – the file name of the CRL

CRLFileSource

public CRLFileSource(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.

Parameters:
  • crlFile – the file object of the file holding the CRL

Methods

init

public void init()

Initializes the object. The CRL file is being loaded into the internal CRL object.

Throws:
  • CRLException – Initialization error occurs