Class KeyUsage

  • All Implemented Interfaces:
    com.netscape.certsrv.extensions.ICMSExtension

    public class KeyUsage
    extends java.lang.Object
    implements com.netscape.certsrv.extensions.ICMSExtension
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static boolean[] DEF_BITS  
      static org.slf4j.Logger logger  
      • Fields inherited from interface com.netscape.certsrv.extensions.ICMSExtension

        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.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • DEF_BITS

        protected static final boolean[] DEF_BITS
    • Constructor Detail

      • KeyUsage

        public KeyUsage​(boolean setDefault)
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.netscape.certsrv.extensions.ICMSExtension
        Returns:
        name value pairs
        Throws:
        EBaseException