Package com.netscape.cms.profile.input
Class SigningKeyGenInput
- java.lang.Object
-
- com.netscape.cms.profile.input.EnrollInput
-
- com.netscape.cms.profile.input.SigningKeyGenInput
-
- All Implemented Interfaces:
IProfileInput,IConfigTemplate
public class SigningKeyGenInput extends EnrollInput implements IProfileInput
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.
- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description EnrollProfilemEnrollProfilestatic java.lang.StringVAL_KEYGEN_REQUESTstatic java.lang.StringVAL_KEYGEN_REQUEST_TYPE-
Fields inherited from class com.netscape.cms.profile.input.EnrollInput
mConfig, mConfigNames, mProfile, mValueNames
-
-
Constructor Summary
Constructors Constructor Description SigningKeyGenInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName(java.util.Locale locale)Retrieves the localizable name of this policy.java.lang.StringgetText(java.util.Locale locale)Retrieves the localizable description of this policy.IDescriptorgetValueDescriptor(java.util.Locale locale, java.lang.String name)Retrieves the descriptor of the given value parameter by name.voidinit(IProfile profile, IConfigStore config)Initializes this default policy.voidpopulate(IProfileContext ctx, IRequest request)Populates the request with this policy default.-
Methods inherited from class com.netscape.cms.profile.input.EnrollInput
addConfigName, addValueName, 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.property.IConfigTemplate
getConfig, getConfigDescriptor, getConfigNames, setConfig
-
Methods inherited from interface com.netscape.certsrv.profile.IProfileInput
getConfigStore, getValue, getValueNames, setValue
-
-
-
-
Field Detail
-
VAL_KEYGEN_REQUEST_TYPE
public static final java.lang.String VAL_KEYGEN_REQUEST_TYPE
- See Also:
- Constant Field Values
-
VAL_KEYGEN_REQUEST
public static final java.lang.String VAL_KEYGEN_REQUEST
- See Also:
- Constant Field Values
-
mEnrollProfile
public EnrollProfile mEnrollProfile
-
-
Method Detail
-
init
public void init(IProfile profile, IConfigStore config) throws EProfileException
Initializes this default policy.- Specified by:
initin interfaceIProfileInput- Overrides:
initin classEnrollInput- Parameters:
profile- owner of this inputconfig- configuration store- Throws:
EProfileException- failed to initialize
-
getName
public java.lang.String getName(java.util.Locale locale)
Retrieves the localizable name of this policy.- Specified by:
getNamein interfaceIProfileInput- Specified by:
getNamein classEnrollInput- Parameters:
locale- user locale- Returns:
- localized input name
-
getText
public java.lang.String getText(java.util.Locale locale)
Retrieves the localizable description of this policy.- Specified by:
getTextin interfaceIProfileInput- Specified by:
getTextin classEnrollInput- Parameters:
locale- user locale- Returns:
- localized input description
-
populate
public void populate(IProfileContext ctx, IRequest request) throws EProfileException
Populates the request with this policy default.- Specified by:
populatein interfaceIProfileInput- Specified by:
populatein classEnrollInput- Parameters:
ctx- profile contextrequest- request- Throws:
EProfileException- failed to populate
-
getValueDescriptor
public IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
Retrieves the descriptor of the given value parameter by name.- Specified by:
getValueDescriptorin interfaceIProfileInput- Specified by:
getValueDescriptorin classEnrollInput- Parameters:
locale- user localename- property name- Returns:
- descriptor of the property
-
-