public class NSCertTypeExtConstraint extends EnrollConstraint
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_CRITICAL |
static java.lang.String |
CONFIG_EMAIL |
static java.lang.String |
CONFIG_EMAIL_CA |
static java.lang.String |
CONFIG_OBJECT_SIGNING |
static java.lang.String |
CONFIG_OBJECT_SIGNING_CA |
static java.lang.String |
CONFIG_SSL_CA |
static java.lang.String |
CONFIG_SSL_CLIENT |
static java.lang.String |
CONFIG_SSL_SERVER |
CONFIG_NAME, CONFIG_PARAMS, logger, mConfig, mConfigNames| Constructor and Description |
|---|
NSCertTypeExtConstraint() |
| Modifier and Type | Method and Description |
|---|---|
IDescriptor |
getConfigDescriptor(java.util.Locale locale,
java.lang.String name)
Returns the descriptors of configuration parameter.
|
java.lang.String |
getText(java.util.Locale locale)
Returns localized description of this constraint.
|
boolean |
isApplicable(PolicyDefault def)
Checks if this constraint is applicable to the
given default policy.
|
void |
validate(IRequest request,
org.mozilla.jss.netscape.security.x509.X509CertInfo info)
Validates the request.
|
addConfigName, getBoolean, getConfig, getConfig, getConfigBoolean, getConfigInt, getConfigNames, getConfigStore, getExtension, getInt, getLocale, getName, getValueDescriptor, init, isOptional, setConfig, validatepublic static final java.lang.String CONFIG_CRITICAL
public static final java.lang.String CONFIG_SSL_CLIENT
public static final java.lang.String CONFIG_SSL_SERVER
public static final java.lang.String CONFIG_EMAIL
public static final java.lang.String CONFIG_OBJECT_SIGNING
public static final java.lang.String CONFIG_SSL_CA
public static final java.lang.String CONFIG_EMAIL_CA
public static final java.lang.String CONFIG_OBJECT_SIGNING_CA
public IDescriptor getConfigDescriptor(java.util.Locale locale, java.lang.String name)
IConfigTemplategetConfigDescriptor in interface IConfigTemplategetConfigDescriptor in class EnrollConstraintlocale - user localename - configuration parameter namepublic void validate(IRequest request, org.mozilla.jss.netscape.security.x509.X509CertInfo info) throws ERejectException
validate in class EnrollConstraintrequest - enrollment requestinfo - certificate templateERejectException - request is rejected due
to violation of constraintpublic java.lang.String getText(java.util.Locale locale)
PolicyConstraintgetText in class EnrollConstraintlocale - locale of the end-userpublic boolean isApplicable(PolicyDefault def)
PolicyConstraintisApplicable in class EnrollConstraintdef - default policy to be checked