public class SubjectNameInput extends EnrollInput implements IProfileInput
The collected parameters could be used for fomulating the subject name in the certificate.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_C |
static java.lang.String |
CONFIG_CN |
static java.lang.String |
CONFIG_EMAIL |
static java.lang.String |
CONFIG_O |
static java.lang.String |
CONFIG_OU |
static java.lang.String |
CONFIG_OU1 |
static java.lang.String |
CONFIG_OU2 |
static java.lang.String |
CONFIG_OU3 |
static java.lang.String |
CONFIG_UID |
static java.lang.String |
VAL_C |
static java.lang.String |
VAL_CN |
static java.lang.String |
VAL_EMAIL |
static java.lang.String |
VAL_O |
static java.lang.String |
VAL_OU |
static java.lang.String |
VAL_OU1 |
static java.lang.String |
VAL_OU2 |
static java.lang.String |
VAL_OU3 |
static java.lang.String |
VAL_UID |
mConfig, mConfigNames, mProfile, mSignedAuditLogger, mValueNames| Constructor and Description |
|---|
SubjectNameInput() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfig(java.lang.String name)
Retrieves configuration parameter by name.
|
IDescriptor |
getConfigDescriptor(java.util.Locale locale,
java.lang.String name)
Returns the descriptors of configuration parameter.
|
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.
|
java.util.Enumeration |
getValueNames()
Returns selected value names based on the configuration.
|
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy.
|
protected void |
parseSubjectName(netscape.security.x509.X500Name subj,
netscape.security.x509.X509CertInfo info,
IRequest req) |
void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default.
|
addConfigName, addValueName, audit, auditSubjectID, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, setConfig, setValue, verifyPOPclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigStore, getValue, setValuegetConfigNames, setConfigpublic static final java.lang.String CONFIG_UID
public static final java.lang.String CONFIG_EMAIL
public static final java.lang.String CONFIG_CN
public static final java.lang.String CONFIG_OU3
public static final java.lang.String CONFIG_OU2
public static final java.lang.String CONFIG_OU1
public static final java.lang.String CONFIG_OU
public static final java.lang.String CONFIG_O
public static final java.lang.String CONFIG_C
public static final java.lang.String VAL_UID
public static final java.lang.String VAL_EMAIL
public static final java.lang.String VAL_CN
public static final java.lang.String VAL_OU3
public static final java.lang.String VAL_OU2
public static final java.lang.String VAL_OU1
public static final java.lang.String VAL_OU
public static final java.lang.String VAL_O
public static final java.lang.String VAL_C
public void init(IProfile profile, IConfigStore config) throws EProfileException
init in interface IProfileInputinit in class EnrollInputprofile - owner of this inputconfig - configuration storeEProfileException - failed to initializepublic java.lang.String getName(java.util.Locale locale)
getName in interface IProfileInputgetName in class EnrollInputlocale - user localepublic java.lang.String getText(java.util.Locale locale)
getText in interface IProfileInputgetText in class EnrollInputlocale - user localepublic java.lang.String getConfig(java.lang.String name)
IConfigTemplategetConfig in interface IConfigTemplategetConfig in class EnrollInputpublic java.util.Enumeration getValueNames()
getValueNames in interface IProfileInputgetValueNames in class EnrollInputpublic void populate(IProfileContext ctx, IRequest request) throws EProfileException
populate in interface IProfileInputpopulate in class EnrollInputctx - profile contextrequest - requestEProfileException - failed to populatepublic IDescriptor getConfigDescriptor(java.util.Locale locale, java.lang.String name)
IConfigTemplategetConfigDescriptor in interface IConfigTemplategetConfigDescriptor in class EnrollInputlocale - user localename - configuration parameter namepublic IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor in interface IProfileInputgetValueDescriptor in class EnrollInputlocale - user localename - property nameprotected void parseSubjectName(netscape.security.x509.X500Name subj,
netscape.security.x509.X509CertInfo info,
IRequest req)
throws EProfileException
EProfileException