public class CertificatePoliciesExt extends APolicyRule implements IEnrollmentPolicy, IExtendedPluginInfo
NOTE: The Policy Framework has been replaced by the Profile Framework.
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
DEF_CRITICAL
Deprecated.
|
protected static int |
DEF_NUM_CERTPOLICIES
Deprecated.
|
protected netscape.security.x509.CertificatePoliciesExtension |
mCertificatePoliciesExtension
Deprecated.
|
protected com.netscape.cms.policy.extensions.CertPolicy[] |
mCertPolicies
Deprecated.
|
protected IConfigStore |
mConfig
Deprecated.
|
protected boolean |
mCritical
Deprecated.
|
protected boolean |
mEnabled
Deprecated.
|
protected java.util.Vector |
mInstanceParams
Deprecated.
|
protected int |
mNumCertPolicies
Deprecated.
|
protected static java.lang.String |
PROP_CERTPOLICY
Deprecated.
|
protected static java.lang.String |
PROP_CRITICAL
Deprecated.
|
protected static java.lang.String |
PROP_NUM_CERTPOLICIES
Deprecated.
|
DESC, mFilterExp, mInstanceName, mLogger, NAMEPROP_ENABLE, PROP_IMPLNAME, PROP_PREDICATEHELP_TEXT, HELP_TOKEN| Constructor and Description |
|---|
CertificatePoliciesExt()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyResult |
apply(IRequest req)
Deprecated.
Applies the policy on the given Request.
|
PolicyResult |
applyCert(IRequest req,
netscape.security.x509.X509CertInfo certInfo)
Deprecated.
|
java.util.Vector |
getDefaultParams()
Deprecated.
Return default parameters for a policy implementation.
|
java.lang.String[] |
getExtendedPluginInfo(java.util.Locale locale)
Deprecated.
This method returns an array of strings.
|
java.util.Vector |
getInstanceParams()
Deprecated.
Return configured parameters for a policy rule instance.
|
void |
init(ISubsystem owner,
IConfigStore config)
Deprecated.
Initializes this policy rule.
|
agentApproved, createKeyIdentifier, deferred, formSHA1KeyId, formSpkiSHA1KeyId, getDescription, getInstanceName, getName, getPredicate, log, setError, setError, setError, setInstanceName, setPolicyException, setPolicyException, setPredicateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getInstanceName, getName, getPredicate, setError, setInstanceName, setPolicyException, setPredicateprotected static final java.lang.String PROP_CRITICAL
protected static final java.lang.String PROP_NUM_CERTPOLICIES
protected static final java.lang.String PROP_CERTPOLICY
protected static final boolean DEF_CRITICAL
protected static final int DEF_NUM_CERTPOLICIES
protected boolean mEnabled
protected IConfigStore mConfig
protected boolean mCritical
protected int mNumCertPolicies
protected com.netscape.cms.policy.extensions.CertPolicy[] mCertPolicies
protected java.util.Vector mInstanceParams
protected netscape.security.x509.CertificatePoliciesExtension mCertificatePoliciesExtension
public void init(ISubsystem owner, IConfigStore config) throws EBaseException
The entries may be of the form:
ca.Policy.rule.
init in interface IPolicyRuleinit in class APolicyRuleconfig - The config store referenceEBaseExceptionpublic PolicyResult apply(IRequest req)
apply in interface IPolicyRuleapply in interface IPolicyapply in class APolicyRulereq - The request on which to apply policy.public PolicyResult applyCert(IRequest req, netscape.security.x509.X509CertInfo certInfo)
public java.util.Vector getInstanceParams()
getInstanceParams in interface IPolicyRulegetInstanceParams in class APolicyRulepublic java.util.Vector getDefaultParams()
getDefaultParams in interface IPolicyRulegetDefaultParams in class APolicyRulepublic java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfogetExtendedPluginInfo in interface IExtendedPluginInfo