Package com.netscape.certsrv.extensions
Class CMSExtension
- java.lang.Object
-
- com.netscape.certsrv.extensions.CMSExtension
-
- Direct Known Subclasses:
KeyUsage
public abstract class CMSExtension extends java.lang.Object
CMS extension class, for creating extensions from http input and displaying extensions to html forms.- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXT_IS_CRITICAL
static java.lang.String
EXT_PREFIX
-
Constructor Summary
Constructors Constructor Description CMSExtension()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract org.mozilla.jss.netscape.security.x509.Extension
getExtension(IArgBlock argblock)
Get an instance of the extension given http input.abstract IArgBlock
getFormParams(org.mozilla.jss.netscape.security.x509.Extension extension)
Get Javascript name value pairs to put into the request processing template.abstract java.lang.String
getName()
Get name of this extension.abstract org.mozilla.jss.netscape.security.util.ObjectIdentifier
getOID()
Get object identifier associated with this extension.abstract void
init(IConfigStore config)
initialize from configuration file
-
-
-
Method Detail
-
init
public abstract void init(IConfigStore config) throws EBaseException
initialize from configuration file- Throws:
EBaseException
-
getName
public abstract java.lang.String getName()
Get name of this extension.- Returns:
- the name of this CMS extension, for
-
getOID
public abstract org.mozilla.jss.netscape.security.util.ObjectIdentifier getOID()
Get object identifier associated with this extension.
-
getExtension
public abstract org.mozilla.jss.netscape.security.x509.Extension getExtension(IArgBlock argblock) throws EBaseException
Get an instance of the extension given http input.- Returns:
- an instance of the extension.
- Throws:
EBaseException
-
getFormParams
public abstract IArgBlock getFormParams(org.mozilla.jss.netscape.security.x509.Extension extension) throws EBaseException
Get Javascript name value pairs to put into the request processing template.- Returns:
- name value pairs
- Throws:
EBaseException
-
-