|
||||||||||
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.DualKeyGenInput
public class DualKeyGenInput
This class implements the dual key generation input. This input populates parameters to the enrollment pages so that a CRMF request containing 2 certificate requests will be generated.
This input can only be used with Netscape 7.x or later clients.
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 | |
---|---|
DualKeyGenInput()
|
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 DualKeyGenInput()
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 |