|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.servlet.csadmin.WizardPanelBase
com.netscape.cms.servlet.csadmin.SizePanel
public class SizePanel
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ECC_KEY_SIZE
|
static java.lang.String |
DEFAULT_RSA_KEY_SIZE
|
| Fields inherited from class com.netscape.cms.servlet.csadmin.WizardPanelBase |
|---|
AUTH_FAILURE, CONF_CA_CERT, CONF_CA_CERTNICKNAME, CONF_CA_CERTREQ, FAILURE, PCERT_PREFIX, PRE_CA_TYPE, PRE_CONF_ADMIN_NAME, PRE_CONF_AGENT_GROUP, PRE_CONF_CA_TOKEN, PRE_OTHER_CA, PRE_ROOT_CA, SUCCESS |
| Constructor Summary | |
|---|---|
SizePanel()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Cleans up this panel so that isPanelDone() will return false. |
void |
createECCKeyPair(java.lang.String token,
int keysize,
IConfigStore config,
java.lang.String ct)
|
void |
createRSAKeyPair(java.lang.String token,
int keysize,
IConfigStore config,
java.lang.String ct)
|
void |
display(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
Display the panel. |
void |
displayError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
If validiate() returns false, this method will be called. |
PropertySet |
getUsage()
|
void |
init(WizardServlet servlet,
javax.servlet.ServletConfig config,
int panelno,
java.lang.String id)
Initializes this panel. |
boolean |
isPanelDone()
Is this panel done |
void |
update(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
Commit parameter changes |
void |
validate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
Checks if the given parameters are valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ECC_KEY_SIZE
public static final java.lang.String DEFAULT_RSA_KEY_SIZE
| Constructor Detail |
|---|
public SizePanel()
| Method Detail |
|---|
public void init(WizardServlet servlet,
javax.servlet.ServletConfig config,
int panelno,
java.lang.String id)
throws javax.servlet.ServletException
init in interface IWizardPanelinit in class WizardPanelBasejavax.servlet.ServletExceptionpublic PropertySet getUsage()
getUsage in interface IWizardPanelgetUsage in class WizardPanelBase
public void cleanUp()
throws java.io.IOException
WizardPanelBase
cleanUp in interface IWizardPanelcleanUp in class WizardPanelBasejava.io.IOExceptionpublic boolean isPanelDone()
WizardPanelBase
isPanelDone in interface IWizardPanelisPanelDone in class WizardPanelBase
public void display(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
display in interface IWizardPaneldisplay in class WizardPanelBase
public void validate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
throws java.io.IOException
validate in interface IWizardPanelvalidate in class WizardPanelBasejava.io.IOException
public void update(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
throws java.io.IOException,
java.lang.NumberFormatException
update in interface IWizardPanelupdate in class WizardPanelBasejava.io.IOException
java.lang.NumberFormatException
public void createECCKeyPair(java.lang.String token,
int keysize,
IConfigStore config,
java.lang.String ct)
throws java.security.NoSuchAlgorithmException,
org.mozilla.jss.NoSuchTokenException,
org.mozilla.jss.crypto.TokenException,
org.mozilla.jss.CryptoManager.NotInitializedException
java.security.NoSuchAlgorithmException
org.mozilla.jss.NoSuchTokenException
org.mozilla.jss.crypto.TokenException
org.mozilla.jss.CryptoManager.NotInitializedException
public void createRSAKeyPair(java.lang.String token,
int keysize,
IConfigStore config,
java.lang.String ct)
throws java.security.NoSuchAlgorithmException,
org.mozilla.jss.NoSuchTokenException,
org.mozilla.jss.crypto.TokenException,
org.mozilla.jss.CryptoManager.NotInitializedException
java.security.NoSuchAlgorithmException
org.mozilla.jss.NoSuchTokenException
org.mozilla.jss.crypto.TokenException
org.mozilla.jss.CryptoManager.NotInitializedException
public void displayError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
displayError in interface IWizardPaneldisplayError in class WizardPanelBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||