public class IssuerAltNameExt 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
Deprecated.
|
static java.lang.String |
PROP_CRITICAL
Deprecated.
|
DESC, mFilterExp, mInstanceName, mLogger, NAME
PROP_ENABLE, PROP_IMPLNAME, PROP_PREDICATE
HELP_TEXT, HELP_TOKEN
Constructor and Description |
---|
IssuerAltNameExt()
Deprecated.
Adds the issuer alternate name extension to all certs.
|
Modifier and Type | Method and Description |
---|---|
PolicyResult |
apply(IRequest req)
Deprecated.
Adds a 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.
|
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
public static final java.lang.String PROP_CRITICAL
public static final boolean DEFAULT_CRITICALITY
public IssuerAltNameExt()
public void init(ISubsystem owner, IConfigStore config) throws EBaseException
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.util.Vector getInstanceParams()
getInstanceParams
in interface IPolicyRule
getInstanceParams
in class APolicyRule
public java.util.Vector getDefaultParams()
getDefaultParams
in interface IPolicyRule
getDefaultParams
in class APolicyRule
public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfo
getExtendedPluginInfo
in interface IExtendedPluginInfo