public class EncryptionKeyGenInput extends EnrollInput
This input normally is used with user-based or non certificate request profile.
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
EnrollProfile |
mEnrollProfile |
static java.lang.String |
VAL_KEYGEN_REQUEST |
static java.lang.String |
VAL_KEYGEN_REQUEST_TYPE |
mConfig, mConfigNames, mProfile, mValueNames
Constructor and Description |
---|
EncryptionKeyGenInput() |
Modifier and Type | Method and Description |
---|---|
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(Profile profile,
IConfigStore config)
Initializes this default policy.
|
void |
populate(java.util.Map<java.lang.String,java.lang.String> ctx,
IRequest request)
Populates the request with this policy default.
|
addConfigName, addValueName, auditSubjectID, getConfig, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, getValueNames, setConfig, setValue, verifyPOP
public static org.slf4j.Logger logger
public static final java.lang.String VAL_KEYGEN_REQUEST_TYPE
public static final java.lang.String VAL_KEYGEN_REQUEST
public EnrollProfile mEnrollProfile
public void init(Profile profile, IConfigStore config) throws EProfileException
init
in class EnrollInput
EProfileException
public java.lang.String getName(java.util.Locale locale)
getName
in class EnrollInput
locale
- user localepublic java.lang.String getText(java.util.Locale locale)
getText
in class EnrollInput
locale
- user localepublic void populate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request) throws java.lang.Exception
populate
in class EnrollInput
ctx
- profile contextrequest
- requestjava.lang.Exception
- failed to populatepublic IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor
in class EnrollInput
locale
- user localename
- property name