public class NSCCommentExt extends APolicyRule implements IEnrollmentPolicy, IExtendedPluginInfo
NOTE: The Policy Framework has been replaced by the Profile Framework.
Modifier and Type | Field and Description |
---|---|
protected boolean |
certApplied
Deprecated.
|
protected static java.lang.String |
FILE
Deprecated.
|
protected java.lang.String |
mCommentFile
Deprecated.
|
protected boolean |
mCritical
Deprecated.
|
protected java.lang.String |
mInputType
Deprecated.
|
protected java.lang.String |
mUserNoticeDisplayText
Deprecated.
|
protected static java.lang.String |
PROP_COMMENT_FILE
Deprecated.
|
protected static java.lang.String |
PROP_CRITICAL
Deprecated.
|
protected static java.lang.String |
PROP_INPUT_TYPE
Deprecated.
|
protected static java.lang.String |
PROP_USER_NOTICE_DISPLAY_TEXT
Deprecated.
|
protected java.lang.String |
tempCommentFile
Deprecated.
|
protected static java.lang.String |
TEXT
Deprecated.
|
DESC, mFilterExp, mInstanceName, mLogger, NAME
PROP_ENABLE, PROP_IMPLNAME, PROP_PREDICATE
HELP_TEXT, HELP_TOKEN
Constructor and Description |
---|
NSCCommentExt()
Deprecated.
Adds the Netscape comment in the end-entity certificates or
CA certificates.
|
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, setPredicate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getInstanceName, getName, getPredicate, setError, setInstanceName, setPolicyException, setPredicate
protected static final java.lang.String PROP_USER_NOTICE_DISPLAY_TEXT
protected static final java.lang.String PROP_COMMENT_FILE
protected static final java.lang.String PROP_CRITICAL
protected static final java.lang.String PROP_INPUT_TYPE
protected static final java.lang.String TEXT
protected static final java.lang.String FILE
protected java.lang.String mUserNoticeDisplayText
protected java.lang.String mCommentFile
protected java.lang.String mInputType
protected boolean mCritical
protected java.lang.String tempCommentFile
protected boolean certApplied
public NSCCommentExt()
public void init(ISubsystem owner, IConfigStore config) throws EBaseException
The entries may be of the form:
ca.Policy.rule.
init
in interface IPolicyRule
init
in class APolicyRule
config
- The config store referenceEBaseException
public PolicyResult apply(IRequest req)
apply
in interface IPolicyRule
apply
in interface IPolicy
apply
in class APolicyRule
req
- The request on which to apply policy.public PolicyResult applyCert(IRequest req, netscape.security.x509.X509CertInfo certInfo)
public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfo
getExtendedPluginInfo
in interface IExtendedPluginInfo
public java.util.Vector getInstanceParams()
getInstanceParams
in interface IPolicyRule
getInstanceParams
in class APolicyRule
public java.util.Vector getDefaultParams()
getDefaultParams
in interface IPolicyRule
getDefaultParams
in class APolicyRule