|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netscape.cms.profile.input.EnrollInput
com.netscape.cms.profile.input.KeyGenInput
public class KeyGenInput
This class implements the key generation input that populates parameters to the enrollment page for key generation.
This input normally is used with user-based or non certificate request profile.
Field Summary | |
---|---|
EnrollProfile |
mEnrollProfile
|
static java.lang.String |
VAL_KEYGEN_REQUEST
|
static java.lang.String |
VAL_KEYGEN_REQUEST_TYPE
|
Fields inherited from class com.netscape.cms.profile.input.EnrollInput |
---|
mConfig, mConfigNames, mProfile, mSignedAuditLogger, mValueNames |
Constructor Summary | |
---|---|
KeyGenInput()
|
Method Summary | |
---|---|
java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy. |
java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy. |
IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given value parameter by name. |
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy. |
void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default. |
Methods inherited from class com.netscape.cms.profile.input.EnrollInput |
---|
addConfigName, addValueName, audit, auditSubjectID, getConfig, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, getValueNames, setConfig, setValue, verifyPOP |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.netscape.certsrv.profile.IProfileInput |
---|
getConfigStore, getValue, getValueNames, setValue |
Methods inherited from interface com.netscape.certsrv.property.IConfigTemplate |
---|
getConfig, getConfigDescriptor, getConfigNames, setConfig |
Field Detail |
---|
public static final java.lang.String VAL_KEYGEN_REQUEST_TYPE
public static final java.lang.String VAL_KEYGEN_REQUEST
public EnrollProfile mEnrollProfile
Constructor Detail |
---|
public KeyGenInput()
Method Detail |
---|
public void init(IProfile profile, IConfigStore config) throws EProfileException
init
in interface IProfileInput
init
in class EnrollInput
profile
- owner of this inputconfig
- configuration store
EProfileException
- failed to initializepublic java.lang.String getName(java.util.Locale locale)
getName
in interface IProfileInput
getName
in class EnrollInput
locale
- user locale
public java.lang.String getText(java.util.Locale locale)
getText
in interface IProfileInput
getText
in class EnrollInput
locale
- user locale
public void populate(IProfileContext ctx, IRequest request) throws EProfileException
populate
in interface IProfileInput
populate
in class EnrollInput
ctx
- profile contextrequest
- request
EProfileException
- failed to populatepublic IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor
in interface IProfileInput
getValueDescriptor
in class EnrollInput
locale
- user localename
- property name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |