Package com.netscape.cmscore.extensions
Class KeyUsage
- java.lang.Object
-
- com.netscape.certsrv.extensions.CMSExtension
-
- com.netscape.cmscore.extensions.KeyUsage
-
public class KeyUsage extends CMSExtension
-
-
Field Summary
Fields Modifier and Type Field Description protected static boolean[]DEF_BITSstatic org.slf4j.Loggerlogger-
Fields inherited from class com.netscape.certsrv.extensions.CMSExtension
EXT_IS_CRITICAL, EXT_PREFIX
-
-
Constructor Summary
Constructors Constructor Description KeyUsage(boolean setDefault)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.mozilla.jss.netscape.security.x509.ExtensiongetExtension(IArgBlock args)Get an instance of the extension given http input.IArgBlockgetFormParams(org.mozilla.jss.netscape.security.x509.Extension extension)Get Javascript name value pairs to put into the request processing template.java.lang.StringgetName()Get name of this extension.org.mozilla.jss.netscape.security.util.ObjectIdentifiergetOID()Get object identifier associated with this extension.voidinit(IConfigStore config)initialize from configuration file
-
-
-
Method Detail
-
init
public void init(IConfigStore config) throws EBaseException
Description copied from class:CMSExtensioninitialize from configuration file- Specified by:
initin classCMSExtension- Throws:
EBaseException
-
getName
public java.lang.String getName()
Description copied from class:CMSExtensionGet name of this extension.- Specified by:
getNamein classCMSExtension- Returns:
- the name of this CMS extension, for
-
getOID
public org.mozilla.jss.netscape.security.util.ObjectIdentifier getOID()
Description copied from class:CMSExtensionGet object identifier associated with this extension.- Specified by:
getOIDin classCMSExtension
-
getExtension
public org.mozilla.jss.netscape.security.x509.Extension getExtension(IArgBlock args) throws EBaseException
Description copied from class:CMSExtensionGet an instance of the extension given http input.- Specified by:
getExtensionin classCMSExtension- Returns:
- an instance of the extension.
- Throws:
EBaseException
-
getFormParams
public IArgBlock getFormParams(org.mozilla.jss.netscape.security.x509.Extension extension) throws EBaseException
Description copied from class:CMSExtensionGet Javascript name value pairs to put into the request processing template.- Specified by:
getFormParamsin classCMSExtension- Returns:
- name value pairs
- Throws:
EBaseException
-
-