public interface ICRLPublisher
public class CRLPublisher implements ICRLPublisher
{
public void init(ISubsystem owner, IConfigStore config)
throws EBaseException
{
log(ILogger.LL_DEBUG, "CRLPublisher: Initialized");
}
public void publish(String issuingPointId, X509CRLImpl crl)
throws EBaseException
{
log(ILogger.LL_DEBUG, "CRLPublisher: " + issuingPointId +
" crl=" + crl);
}
public void log(int level, String msg)
{
Logger.getLogger().log(ILogger.EV_SYSTEM,
null, ILogger.S_OTHER, level,
msg);
}
}
(2) Compile the class and place the class into
Modifier and Type | Method and Description |
---|---|
void |
init(ISubsystem owner,
IConfigStore config)
Initializes this CRL publisher.
|
void |
publish(java.lang.String issuingPointId,
netscape.security.x509.X509CRLImpl crl)
Publishes CRL.
|
void init(ISubsystem owner, IConfigStore config) throws EBaseException
owner
- parent of the publisher. An object of type
CertificateAuthority.config
- config store for this publisher. If this
publisher requires configuration parameters for
initialization, the parameters should be placed
in CMS.cfg as ca.crlPublisher.EBaseException
- failed to initialize this publishervoid publish(java.lang.String issuingPointId, netscape.security.x509.X509CRLImpl crl) throws EBaseException
issuingPointId
- CRL issuing point identifier
(i.e. MasterCRL)crl
- CRL that is publishingEBaseException
- failed to publish