Package com.netscape.cmscore.extensions
Class KeyUsage
- java.lang.Object
-
- com.netscape.cmscore.extensions.KeyUsage
-
- All Implemented Interfaces:
com.netscape.certsrv.extensions.ICMSExtension
public class KeyUsage extends java.lang.Object implements com.netscape.certsrv.extensions.ICMSExtension
-
-
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.Extension
getExtension(IArgBlock args)
Get an instance of the extension given http input.IArgBlock
getFormParams(org.mozilla.jss.netscape.security.x509.Extension extension)
Get Javascript name value pairs to put into the request processing template.java.lang.String
getName()
Get name of this extension.org.mozilla.jss.netscape.security.util.ObjectIdentifier
getOID()
Get object identifier associated with this extension.void
init(ISubsystem owner, IConfigStore config)
initialize from configuration file
-
-
-
Method Detail
-
init
public void init(ISubsystem owner, IConfigStore config) throws EBaseException
Description copied from interface:com.netscape.certsrv.extensions.ICMSExtension
initialize from configuration file- Specified by:
init
in interfacecom.netscape.certsrv.extensions.ICMSExtension
- Throws:
EBaseException
-
getName
public java.lang.String getName()
Description copied from interface:com.netscape.certsrv.extensions.ICMSExtension
Get name of this extension.- Specified by:
getName
in interfacecom.netscape.certsrv.extensions.ICMSExtension
- Returns:
- the name of this CMS extension, for
-
getOID
public org.mozilla.jss.netscape.security.util.ObjectIdentifier getOID()
Description copied from interface:com.netscape.certsrv.extensions.ICMSExtension
Get object identifier associated with this extension.- Specified by:
getOID
in interfacecom.netscape.certsrv.extensions.ICMSExtension
-
getExtension
public org.mozilla.jss.netscape.security.x509.Extension getExtension(IArgBlock args) throws EBaseException
Description copied from interface:com.netscape.certsrv.extensions.ICMSExtension
Get an instance of the extension given http input.- Specified by:
getExtension
in interfacecom.netscape.certsrv.extensions.ICMSExtension
- 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 interface:com.netscape.certsrv.extensions.ICMSExtension
Get Javascript name value pairs to put into the request processing template.- Specified by:
getFormParams
in interfacecom.netscape.certsrv.extensions.ICMSExtension
- Returns:
- name value pairs
- Throws:
EBaseException
-
-