Class GenSubjectAltNameExt

java.lang.Object
com.netscape.cmstools.GenSubjectAltNameExt

public class GenSubjectAltNameExt extends Object
This program generates an subject alternative name extension in base-64 encoding. The encoding output can be used with the configuration wizard. Usage:
  GenSubjectAltNameExt \
    <general_type0> <general_name0> ... <general_typeN> <general_nameN>

  where,
    <general_type> can be one of the following string:
      DNSName
      EDIPartyName
      IPAddressName
      URIName
      RFC822Name
      OIDName
      X500Name
    <general_name> is string
 
Version:
$Revision$, $Date$
  • Constructor Details

    • GenSubjectAltNameExt

      public GenSubjectAltNameExt()
  • Method Details

    • main

      public static void main(String[] args)
    • output

      public static void output(org.mozilla.jss.netscape.security.x509.SubjectAlternativeNameExtension ext) throws Exception
      Throws:
      Exception
    • doUsage

      public static void doUsage()
    • buildGeneralNameInterface

      public static org.mozilla.jss.netscape.security.x509.GeneralNameInterface buildGeneralNameInterface(String type, String value) throws Exception
      Throws:
      Exception