|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netscape.cms.publish.publishers.FileBasedPublisher
public class FileBasedPublisher
This publisher writes certificate and CRL into a directory.
Field Summary | |
---|---|
protected boolean |
mB64Attr
|
protected boolean |
mDerAttr
|
protected boolean |
mLatestCRL
|
protected java.lang.String |
mLinkExt
|
protected java.lang.String |
mTimeStamp
|
protected boolean |
mZipCRL
|
protected int |
mZipLevel
|
Fields inherited from interface com.netscape.certsrv.publish.ILdapPublisher |
---|
PROP_ENABLE, PROP_IMPLNAME, PROP_PREDICATE |
Fields inherited from interface com.netscape.certsrv.base.IExtendedPluginInfo |
---|
HELP_TEXT, HELP_TOKEN |
Constructor Summary | |
---|---|
FileBasedPublisher()
|
Method Summary | |
---|---|
boolean |
getB64Attr()
returns the B64 attribute where it'll be published. |
IConfigStore |
getConfigStore()
Return config store. |
java.util.Vector |
getDefaultParams()
Returns the initial default parameters. |
boolean |
getDerAttr()
returns the Der attribute where it'll be published. |
java.lang.String |
getDescription()
Returns the description of the ldap publisher. |
java.lang.String[] |
getExtendedPluginInfo(java.util.Locale locale)
This method returns an array of strings. |
java.lang.String |
getImplName()
Returns the implementation name. |
java.util.Vector |
getInstanceParams()
Returns the current instance parameters. |
void |
init(IConfigStore config)
Initializes this plugin. |
void |
publish(netscape.ldap.LDAPConnection conn,
java.lang.String dn,
java.lang.Object object)
Publishs a object to the ldap directory. |
void |
setIssuingPointId(java.lang.String crlIssuingPointId)
|
void |
unpublish(netscape.ldap.LDAPConnection conn,
java.lang.String dn,
java.lang.Object object)
Unpublishs a object to the ldap directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean mDerAttr
protected boolean mB64Attr
protected boolean mLatestCRL
protected boolean mZipCRL
protected java.lang.String mTimeStamp
protected java.lang.String mLinkExt
protected int mZipLevel
Constructor Detail |
---|
public FileBasedPublisher()
Method Detail |
---|
public void setIssuingPointId(java.lang.String crlIssuingPointId)
public java.lang.String getImplName()
getImplName
in interface ILdapPublisher
public java.lang.String getDescription()
getDescription
in interface ILdapPublisher
public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfo
getExtendedPluginInfo
in interface IExtendedPluginInfo
public java.util.Vector getInstanceParams()
getInstanceParams
in interface ILdapPublisher
public java.util.Vector getDefaultParams()
getDefaultParams
in interface ILdapPublisher
public void init(IConfigStore config)
init
in interface ILdapPlugin
config
- the configuration store to initialize from.public IConfigStore getConfigStore()
ILdapPlugin
getConfigStore
in interface ILdapPlugin
public void publish(netscape.ldap.LDAPConnection conn, java.lang.String dn, java.lang.Object object) throws ELdapException
publish
in interface ILdapPublisher
conn
- a Ldap connection
(null if LDAP publishing is not enabled)dn
- dn of the ldap entry to publish cert
(null if LDAP publishing is not enabled)object
- object to publish
(java.security.cert.X509Certificate or,
java.security.cert.X509CRL)
ELdapException
- publish failed.public void unpublish(netscape.ldap.LDAPConnection conn, java.lang.String dn, java.lang.Object object) throws ELdapException
unpublish
in interface ILdapPublisher
conn
- the Ldap connection
(null if LDAP publishing is not enabled)dn
- dn of the ldap entry to unpublish cert
(null if LDAP publishing is not enabled)object
- object to unpublish
(java.security.cert.X509Certificate)
ELdapException
- unpublish failed.public boolean getDerAttr()
public boolean getB64Attr()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |