Package com.netscape.certsrv.ra
Interface IRegistrationAuthority
-
- All Superinterfaces:
ISubsystem
public interface IRegistrationAuthority extends ISubsystem
An interface represents a Registration Authority that is responsible for certificate enrollment operations.- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIDstatic java.lang.StringPROP_CERT_ISSUED_SUBSTOREstatic java.lang.StringPROP_CERT_REVOKED_SUBSTOREstatic java.lang.StringPROP_CONNECTORstatic java.lang.StringPROP_GATEWAYstatic java.lang.StringPROP_NEW_NICKNAMEstatic java.lang.StringPROP_NICKNAMEstatic java.lang.StringPROP_NOTIFY_SUBSTOREstatic java.lang.StringPROP_POLICYstatic java.lang.StringPROP_REGISTRATIONstatic java.lang.StringPROP_REQ_IN_Q_SUBSTORE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRequestListenergetCertIssuedListener()Retrieves the request listener for issued certificates.IRequestListenergetCertRevokedListener()Retrieves the request listener for revoked certificates.longgetDefaultValidity()Retrieves the default validity period.java.lang.StringgetNewNickName()Retrieves the nickname of the RA certificate from configuration store.java.lang.StringgetNickname()Returns the nickname of the RA certificate.IPolicyProcessorgetPolicyProcessor()Retrieves the policy processor of this registration authority.PublisherProcessorgetPublisherProcessor()Retrieves the publishing processor of this registration authority.org.mozilla.jss.crypto.X509CertificategetRACert()Retrieves the RA certificate.IRAServicegetRAService()Retrieves the RA service object that is responsible for processing requests.IRequestListenergetRequestInQListener()Retrieves the request in queue listener.IRequestListenergetRequestListener(java.lang.String name)Retrieves the request listener by name.java.util.Enumeration<java.lang.String>getRequestListenerNames()Retrieves all request listeners.IRequestQueuegetRequestQueue()Retrieves the request queue of this registration authority.org.mozilla.jss.netscape.security.x509.X500NamegetX500Name()Retrieves the issuer name of this registration authority.voidsetNewNickName(java.lang.String name)Sets the new nickname of the RA certifiate.voidsetNickname(java.lang.String str)Sets the nickname of the RA certifiate.-
Methods inherited from interface com.netscape.certsrv.base.ISubsystem
getConfigStore, getId, init, setId, shutdown, startup
-
-
-
-
Field Detail
-
ID
static final java.lang.String ID
- See Also:
- Constant Field Values
-
PROP_POLICY
static final java.lang.String PROP_POLICY
- See Also:
- Constant Field Values
-
PROP_REGISTRATION
static final java.lang.String PROP_REGISTRATION
- See Also:
- Constant Field Values
-
PROP_GATEWAY
static final java.lang.String PROP_GATEWAY
- See Also:
- Constant Field Values
-
PROP_NICKNAME
static final java.lang.String PROP_NICKNAME
- See Also:
- Constant Field Values
-
PROP_CONNECTOR
static final java.lang.String PROP_CONNECTOR
- See Also:
- Constant Field Values
-
PROP_NEW_NICKNAME
static final java.lang.String PROP_NEW_NICKNAME
- See Also:
- Constant Field Values
-
PROP_NOTIFY_SUBSTORE
static final java.lang.String PROP_NOTIFY_SUBSTORE
- See Also:
- Constant Field Values
-
PROP_CERT_ISSUED_SUBSTORE
static final java.lang.String PROP_CERT_ISSUED_SUBSTORE
- See Also:
- Constant Field Values
-
PROP_CERT_REVOKED_SUBSTORE
static final java.lang.String PROP_CERT_REVOKED_SUBSTORE
- See Also:
- Constant Field Values
-
PROP_REQ_IN_Q_SUBSTORE
static final java.lang.String PROP_REQ_IN_Q_SUBSTORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestQueue
IRequestQueue getRequestQueue()
Retrieves the request queue of this registration authority.- Returns:
- RA's request queue
-
getPublisherProcessor
PublisherProcessor getPublisherProcessor()
Retrieves the publishing processor of this registration authority.- Returns:
- RA's publishing processor
-
getPolicyProcessor
IPolicyProcessor getPolicyProcessor()
Retrieves the policy processor of this registration authority.- Returns:
- RA's policy processor
-
getRACert
org.mozilla.jss.crypto.X509Certificate getRACert()
Retrieves the RA certificate.- Returns:
- the RA certificate
-
getRequestInQListener
IRequestListener getRequestInQListener()
Retrieves the request in queue listener.- Returns:
- the request in queue listener
-
getCertIssuedListener
IRequestListener getCertIssuedListener()
Retrieves the request listener for issued certificates.- Returns:
- the request listener for issued certificates
-
getCertRevokedListener
IRequestListener getCertRevokedListener()
Retrieves the request listener for revoked certificates.- Returns:
- the request listener for revoked certificates
-
getNickname
java.lang.String getNickname()
Returns the nickname of the RA certificate.- Returns:
- the nickname of the RA certificate
-
getNewNickName
java.lang.String getNewNickName() throws EBaseExceptionRetrieves the nickname of the RA certificate from configuration store.- Returns:
- the nickname of the RA certificate
- Throws:
EBaseException- failed to get nickname
-
setNewNickName
void setNewNickName(java.lang.String name)
Sets the new nickname of the RA certifiate.- Parameters:
name- new nickname
-
setNickname
void setNickname(java.lang.String str)
Sets the nickname of the RA certifiate.- Parameters:
str- nickname
-
getDefaultValidity
long getDefaultValidity()
Retrieves the default validity period.- Returns:
- the default validity length in days
-
getX500Name
org.mozilla.jss.netscape.security.x509.X500Name getX500Name()
Retrieves the issuer name of this registration authority.- Returns:
- the issuer name of this registration authority
-
getRAService
IRAService getRAService()
Retrieves the RA service object that is responsible for processing requests.- Returns:
- RA service object
-
getRequestListener
IRequestListener getRequestListener(java.lang.String name)
Retrieves the request listener by name.- Parameters:
name- request listener name- Returns:
- the request listener
-
getRequestListenerNames
java.util.Enumeration<java.lang.String> getRequestListenerNames()
Retrieves all request listeners.- Returns:
- name enumeration of all request listeners
-
-