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.String
ID
static java.lang.String
PROP_CERT_ISSUED_SUBSTORE
static java.lang.String
PROP_CERT_REVOKED_SUBSTORE
static java.lang.String
PROP_CONNECTOR
static java.lang.String
PROP_GATEWAY
static java.lang.String
PROP_NEW_NICKNAME
static java.lang.String
PROP_NICKNAME
static java.lang.String
PROP_NOTIFY_SUBSTORE
static java.lang.String
PROP_POLICY
static java.lang.String
PROP_REGISTRATION
static java.lang.String
PROP_REQ_IN_Q_SUBSTORE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRequestListener
getCertIssuedListener()
Retrieves the request listener for issued certificates.IRequestListener
getCertRevokedListener()
Retrieves the request listener for revoked certificates.long
getDefaultValidity()
Retrieves the default validity period.java.lang.String
getNewNickName()
Retrieves the nickname of the RA certificate from configuration store.java.lang.String
getNickname()
Returns the nickname of the RA certificate.IPolicyProcessor
getPolicyProcessor()
Retrieves the policy processor of this registration authority.PublisherProcessor
getPublisherProcessor()
Retrieves the publishing processor of this registration authority.org.mozilla.jss.crypto.X509Certificate
getRACert()
Retrieves the RA certificate.IRAService
getRAService()
Retrieves the RA service object that is responsible for processing requests.IRequestListener
getRequestInQListener()
Retrieves the request in queue listener.IRequestListener
getRequestListener(java.lang.String name)
Retrieves the request listener by name.java.util.Enumeration<java.lang.String>
getRequestListenerNames()
Retrieves all request listeners.IRequestQueue
getRequestQueue()
Retrieves the request queue of this registration authority.org.mozilla.jss.netscape.security.x509.X500Name
getX500Name()
Retrieves the issuer name of this registration authority.void
setNewNickName(java.lang.String name)
Sets the new nickname of the RA certifiate.void
setNickname(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 EBaseException
Retrieves 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
-
-