public class nsHKeyCertReqInput extends EnrollInput implements IProfileInput
This input usually is used by an enrollment profile for certificate requests coming from TPS.
Modifier and Type | Field and Description |
---|---|
EnrollProfile |
mEnrollProfile |
static java.lang.String |
VAL_PUBLIC_KEY |
static java.lang.String |
VAL_TOKEN_CUID |
mConfig, mConfigNames, mProfile, mSignedAuditLogger, mValueNames
Constructor and Description |
---|
nsHKeyCertReqInput() |
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(IProfile profile,
IConfigStore config)
Initializes this default policy.
|
void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default.
|
java.lang.String |
toPrettyPrint(java.lang.String cuid) |
addConfigName, addValueName, audit, auditSubjectID, getConfig, getConfigDescriptor, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, getValueNames, setConfig, setValue, verifyPOP
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigStore, getValue, getValueNames, setValue
getConfig, getConfigDescriptor, getConfigNames, setConfig
public static final java.lang.String VAL_TOKEN_CUID
public static final java.lang.String VAL_PUBLIC_KEY
public EnrollProfile mEnrollProfile
public void init(IProfile profile, IConfigStore config) throws EProfileException
init
in interface IProfileInput
init
in class EnrollInput
profile
- owner of this inputconfig
- configuration storeEProfileException
- failed to initializepublic java.lang.String getName(java.util.Locale locale)
getName
in interface IProfileInput
getName
in class EnrollInput
locale
- user localepublic java.lang.String getText(java.util.Locale locale)
getText
in interface IProfileInput
getText
in class EnrollInput
locale
- user localepublic java.lang.String toPrettyPrint(java.lang.String cuid)
public void populate(IProfileContext ctx, IRequest request) throws EProfileException
populate
in interface IProfileInput
populate
in class EnrollInput
ctx
- profile contextrequest
- requestEProfileException
- 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