ch.othello.openscep.internal
Class Utils

java.lang.Object
  |
  +--ch.othello.openscep.internal.Utils

public class Utils
extends Object

 $Id: Utils.java,v 1.6 2002/02/22 12:38:55 urut Exp $
 $Log: Utils.java,v $
 Revision 1.6  2002/02/22 12:38:55  urut
 modifications to process SUCCESS response to v2 request

 Revision 1.5  2002/02/16 01:14:45  urut
 replaced all read-only accessed files with URL's file:///......
 removed option caCert , only caCertURL is available now

 Revision 1.4  2002/02/15 13:21:12  urut
 first complete implementation of scep v2

 Revision 1.3  2002/02/12 19:33:23  urut
 replaced all println statements

 Revision 1.2  2002/02/07 17:08:50  urut
 ability to send scep request over http added

 Revision 1.1  2002/02/07 12:40:56  urut
 moved util-stuff to Utils.java
 CA get implemented

 

Since:
$Date: 2002/02/22 12:38:55 $
Version:
$Revision: 1.6 $
Author:
urut

Constructor Summary
Utils()
           
 
Method Summary
static InputStream connectToURL(URL url)
           
static org.bouncycastle.asn1.DERObject convertByteArrayToDERObject(byte[] bArray)
           
static byte[] convertDERObjectToByteArray(org.bouncycastle.asn1.DERObject in)
           
static void printOutByteArray(byte[] byteArray)
           
static OutputStream writeToURL(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

convertDERObjectToByteArray

public static byte[] convertDERObjectToByteArray(org.bouncycastle.asn1.DERObject in)
                                          throws IOException
IOException

convertByteArrayToDERObject

public static org.bouncycastle.asn1.DERObject convertByteArrayToDERObject(byte[] bArray)
                                                                   throws IOException
IOException

printOutByteArray

public static void printOutByteArray(byte[] byteArray)

connectToURL

public static InputStream connectToURL(URL url)
                                throws IOException
IOException

writeToURL

public static OutputStream writeToURL(URL url)
                               throws IOException
IOException


ScepClient is copyright by Ueli Rutishauser + Alain Schaefer