com.netscape.cmstools
Class GenIssuerAltNameExt

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

public class GenIssuerAltNameExt
extends java.lang.Object

This program generates an issuer alternative name extension in base-64 encoding. The encoding output can be used with the configuration wizard. Usage:

  GenIssuerAltNameExt \
    <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
GenIssuerAltNameExt()
           
 
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.IssuerAlternativeNameExtension ext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenIssuerAltNameExt

public GenIssuerAltNameExt()
Method Detail

main

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

output

public static void output(netscape.security.x509.IssuerAlternativeNameExtension 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