com.netscape.cmstools
Class ExtJoiner

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

public class ExtJoiner
extends java.lang.Object

This program joins a sequence of extensions together so that the final output can be used in configuration wizard for specifing extra extensions in default certificates (i.e. CA certificate, SSL certificate). Usage:

  ExtJoiner \
    <ext_file0> <ext_file1> ... <ext_fileN>

  where,
    <ext_file> is a file that has the base64 
    encoded DER encoding of an X509 Extension
 
  ExtensionSequence ::= SEQUENCE OF Extension;

  0 30  142: SEQUENCE {
  3 30   69:   SEQUENCE {
  5 06    3:     OBJECT IDENTIFIER issuerAltName (2 5 29 18)
 10 04   62:     OCTET STRING
           :       30 3C 82 01 61 82 01 61 A4 10 30 0E 31 0C 30 0A
           :       06 03 55 04 03 13 03 64 73 61 87 04 01 01 01 01
           :       86 01 61 81 14 74 68 6F 6D 61 73 6B 40 6E 65 74
           :       73 63 61 70 65 2E 63 6F 6D 88 03 29 01 01
           :     }
 74 30   69:   SEQUENCE {
 76 06    3:     OBJECT IDENTIFIER subjectAltName (2 5 29 17)
 81 04   62:     OCTET STRING
           :       30 3C 82 01 61 82 01 61 A4 10 30 0E 31 0C 30 0A
           :       06 03 55 04 03 13 03 64 73 61 87 04 01 01 01 01
           :       86 01 61 81 14 74 68 6F 6D 61 73 6B 40 6E 65 74
           :       73 63 61 70 65 2E 63 6F 6D 88 03 29 01 01
           :     }
           :   }
 

Version:
$Revision$, $Date$

Constructor Summary
ExtJoiner()
           
 
Method Summary
static byte[] getFileData(java.lang.String fileName)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtJoiner

public ExtJoiner()
Method Detail

main

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

getFileData

public static byte[] getFileData(java.lang.String fileName)
                          throws java.io.IOException
Throws:
java.io.IOException