com.netscape.cms.profile.input
Class nsNKeyCertReqInput
java.lang.Object
com.netscape.cms.profile.input.EnrollInput
com.netscape.cms.profile.input.nsNKeyCertReqInput
- All Implemented Interfaces:
- IProfileInput, IConfigTemplate
public class nsNKeyCertReqInput
- extends EnrollInput
- implements IProfileInput
This class implements the certificate request input from TPS.
This input populates 2 main fields to the enrollment "page":
1/ id, 2/ publickey
This input usually is used by an enrollment profile for
certificate requests coming from TPS.
- Version:
- $Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $
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 |
VAL_SN
public static final java.lang.String VAL_SN
- See Also:
- Constant Field Values
VAL_PUBLIC_KEY
public static final java.lang.String VAL_PUBLIC_KEY
- See Also:
- Constant Field Values
mEnrollProfile
public EnrollProfile mEnrollProfile
nsNKeyCertReqInput
public nsNKeyCertReqInput()
init
public void init(IProfile profile,
IConfigStore config)
throws EProfileException
- Initializes this default policy.
- Specified by:
init
in interface IProfileInput
- Overrides:
init
in class EnrollInput
- 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:
getName
in interface IProfileInput
- Specified by:
getName
in class EnrollInput
- 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:
getText
in interface IProfileInput
- Specified by:
getText
in class EnrollInput
- 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:
populate
in interface IProfileInput
- Specified by:
populate
in class EnrollInput
- 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:
getValueDescriptor
in interface IProfileInput
- Specified by:
getValueDescriptor
in class EnrollInput
- Parameters:
locale
- user localename
- property name
- Returns:
- descriptor of the property