public class AuthorityKeyIdentifierExt extends APolicyRule implements IEnrollmentPolicy, IExtendedPluginInfo
NOTE: The Policy Framework has been replaced by the Profile Framework.
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ALT_KEYID_TYPE_EMPTY
Deprecated.
|
protected static java.lang.String |
ALT_KEYID_TYPE_NONE
Deprecated.
|
protected static java.lang.String |
ALT_KEYID_TYPE_SPKISHA1
Deprecated.
|
protected static java.lang.String |
DEF_ALT_KEYID_TYPE
Deprecated.
|
protected static boolean |
DEF_CRITICAL
Deprecated.
|
protected java.lang.String |
mAltKeyIdType
Deprecated.
|
protected IConfigStore |
mConfig
Deprecated.
|
protected boolean |
mCritical
Deprecated.
|
protected static java.util.Vector |
mDefaultParams
Deprecated.
|
protected boolean |
mEnabled
Deprecated.
|
protected java.util.Vector |
mInstanceParams
Deprecated.
|
protected netscape.security.x509.AuthorityKeyIdentifierExtension |
mTheExtension
Deprecated.
|
protected static java.lang.String |
PROP_ALT_KEYID_TYPE
Deprecated.
|
protected 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 |
---|
AuthorityKeyIdentifierExt()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PolicyResult |
apply(IRequest req)
Deprecated.
Adds Authority Key Identifier Extension to a certificate.
|
PolicyResult |
applyCert(IRequest req,
netscape.security.x509.X509CertInfo certInfo)
Deprecated.
|
protected netscape.security.x509.KeyIdentifier |
formKeyIdentifier(netscape.security.x509.X509CertImpl caCertImpl)
Deprecated.
Form the Key Identifier in the Authority Key Identifier extension.
|
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.
|
protected netscape.security.x509.KeyIdentifier |
getKeyIdentifier(netscape.security.x509.X509CertInfo certInfo)
Deprecated.
Get the Key Identifier in a subject key identifier extension from a
CertInfo.
|
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_CRITICAL
protected static final java.lang.String PROP_ALT_KEYID_TYPE
protected static final java.lang.String ALT_KEYID_TYPE_SPKISHA1
protected static final java.lang.String ALT_KEYID_TYPE_NONE
protected static final java.lang.String ALT_KEYID_TYPE_EMPTY
protected static final boolean DEF_CRITICAL
protected static final java.lang.String DEF_ALT_KEYID_TYPE
protected boolean mEnabled
protected IConfigStore mConfig
protected boolean mCritical
protected java.lang.String mAltKeyIdType
protected netscape.security.x509.AuthorityKeyIdentifierExtension mTheExtension
protected java.util.Vector mInstanceParams
protected static java.util.Vector mDefaultParams
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)
protected netscape.security.x509.KeyIdentifier formKeyIdentifier(netscape.security.x509.X509CertImpl caCertImpl) throws EBaseException
caCertImpl
- Certificate InfoEBaseException
- on errorprotected netscape.security.x509.KeyIdentifier getKeyIdentifier(netscape.security.x509.X509CertInfo certInfo) throws EBaseException
certInfo
- the CertInfo structure.EBaseException
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