|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.policy.APolicyRule
com.netscape.cms.policy.extensions.PrivateKeyUsagePeriodExt
public class PrivateKeyUsagePeriodExt
PrivateKeyUsagePeriod Identifier Extension policy.
NOTE: The Policy Framework has been replaced by the Profile Framework.
| Field Summary | |
|---|---|
static boolean |
DEFAULT_CRITICALITY
Deprecated. |
static java.lang.String |
DEFAULT_NOT_AFTER
Deprecated. |
static java.lang.String |
DEFAULT_NOT_BEFORE
Deprecated. |
protected boolean |
mCritical
Deprecated. |
protected java.lang.String |
mNotAfter
Deprecated. |
protected java.lang.String |
mNotBefore
Deprecated. |
protected static java.lang.String |
PROP_IS_CRITICAL
Deprecated. |
| Fields inherited from class com.netscape.cms.policy.APolicyRule |
|---|
DESC, mFilterExp, mInstanceName, mLogger, NAME |
| Fields inherited from interface com.netscape.certsrv.policy.IPolicyRule |
|---|
PROP_ENABLE, PROP_IMPLNAME, PROP_PREDICATE |
| Fields inherited from interface com.netscape.certsrv.base.IExtendedPluginInfo |
|---|
HELP_TEXT, HELP_TOKEN |
| Constructor Summary | |
|---|---|
PrivateKeyUsagePeriodExt()
Deprecated. Adds the private key usage extension to all certs. |
|
| Method Summary | |
|---|---|
PolicyResult |
apply(IRequest req)
Deprecated. Adds a private key usage extension if none exists. |
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. |
| Methods inherited from class com.netscape.cms.policy.APolicyRule |
|---|
agentApproved, createKeyIdentifier, deferred, formSHA1KeyId, formSpkiSHA1KeyId, getDescription, getInstanceName, getName, getPredicate, log, setError, setError, setError, setInstanceName, setPolicyException, setPolicyException, setPredicate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.netscape.certsrv.policy.IPolicyRule |
|---|
getDescription, getInstanceName, getName, getPredicate, setError, setInstanceName, setPolicyException, setPredicate |
| Field Detail |
|---|
protected static final java.lang.String PROP_IS_CRITICAL
public static final java.lang.String DEFAULT_NOT_BEFORE
public static final java.lang.String DEFAULT_NOT_AFTER
public static final boolean DEFAULT_CRITICALITY
protected java.lang.String mNotBefore
protected java.lang.String mNotAfter
protected boolean mCritical
| Constructor Detail |
|---|
public PrivateKeyUsagePeriodExt()
| Method Detail |
|---|
public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfo
getExtendedPluginInfo in interface IExtendedPluginInfo
public void init(ISubsystem owner,
IConfigStore config)
throws EBaseException
init in interface IPolicyRuleinit in class APolicyRuleconfig - The config store reference
EBaseExceptionpublic 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 APolicyRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||