com.netscape.cmstools
Class GenSubjectAltNameExt

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

public class GenSubjectAltNameExt
extends java.lang.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 Summary
GenSubjectAltNameExt()
           
 
Method Summary
static netscape.security.x509.GeneralNameInterface buildGeneralNameInterface(java.lang.String type, java.lang.String value)
           
static void doUsage()
           
static void main(java.lang.String[] args)
           
static void output(netscape.security.x509.SubjectAlternativeNameExtension ext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenSubjectAltNameExt

public GenSubjectAltNameExt()
Method Detail

main

public static void main(java.lang.String[] args)

output

public static void output(netscape.security.x509.SubjectAlternativeNameExtension ext)
                   throws java.lang.Exception
Throws:
java.lang.Exception

doUsage

public static void doUsage()

buildGeneralNameInterface

public static netscape.security.x509.GeneralNameInterface buildGeneralNameInterface(java.lang.String type,
                                                                                    java.lang.String value)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception