public class ExtendedKeyUsageExt extends APolicyRule implements IEnrollmentPolicy, IExtendedPluginInfo
NOTE: The Policy Framework has been replaced by the Profile Framework.
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_CRITICALITY |
protected static int |
MAX_PURPOSE_ID |
static java.lang.String |
PROP_CRITICAL |
protected static java.lang.String |
PROP_NUM_IDS |
protected static java.lang.String |
PROP_PURPOSE_ID |
DESC, logger, mFilterExp, mInstanceName, NAMEPROP_ENABLE, PROP_IMPLNAME, PROP_PREDICATEHELP_TEXT, HELP_TOKEN| Constructor and Description |
|---|
ExtendedKeyUsageExt()
Constructs extended Key Usage extension.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyResult |
apply(IRequest req)
Applies the policy to the given request.
|
PolicyResult |
applyCert(IRequest req,
org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo) |
java.util.Vector<java.lang.String> |
getDefaultParams()
Returns default parameters.
|
java.lang.String[] |
getExtendedPluginInfo(java.util.Locale locale)
This method returns an array of strings.
|
java.util.Vector<java.lang.String> |
getInstanceParams()
Returns instance specific parameters.
|
void |
init(IPolicyProcessor owner,
IConfigStore config)
Performs one-time initialization of the policy.
|
agentApproved, createKeyIdentifier, deferred, formSHA1KeyId, formSpkiSHA1KeyId, getDescription, getInstanceName, getName, getPredicate, setError, setError, setError, setInstanceName, setPolicyException, setPolicyException, setPredicateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getInstanceName, getName, getPredicate, setError, setInstanceName, setPolicyException, setPredicatepublic static final java.lang.String PROP_CRITICAL
protected static final java.lang.String PROP_PURPOSE_ID
protected static final java.lang.String PROP_NUM_IDS
protected static int MAX_PURPOSE_ID
public static final boolean DEFAULT_CRITICALITY
public ExtendedKeyUsageExt()
public void init(IPolicyProcessor owner, IConfigStore config) throws EBaseException
init in interface IPolicyRuleinit in class APolicyRuleconfig - The config store referenceEBaseExceptionpublic PolicyResult apply(IRequest req)
apply in interface IPolicyapply in interface IPolicyRuleapply in class APolicyRulereq - The request on which to apply policy.public PolicyResult applyCert(IRequest req, org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo)
public java.util.Vector<java.lang.String> getInstanceParams()
getInstanceParams in interface IPolicyRulegetInstanceParams in class APolicyRulepublic java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfogetExtendedPluginInfo in interface IExtendedPluginInfopublic java.util.Vector<java.lang.String> getDefaultParams()
getDefaultParams in interface IPolicyRulegetDefaultParams in class APolicyRule