ch.othello.openscep.internal.commands
Class certRep

java.lang.Object
  |
  +--ch.othello.openscep.internal.commands.certRep
All Implemented Interfaces:
ScepCommand

public class certRep
extends Object
implements ScepCommand

 $Id: certRep.java,v 1.14 2002/03/02 01:46:39 alani Exp $
 $Log: certRep.java,v $
 Revision 1.14  2002/03/02 01:46:39  alani
 code cleaning

 Revision 1.13  2002/02/27 04:10:20  alani
 commented out load of private key

 Revision 1.12  2002/02/25 04:23:39  urut
 first working version for MS browsers
 there is still a problem in here as subjectSCEP needs to be set to the subject
 of the actual PKCS#10 request. seems to be a bug in OpenScep.

 Revision 1.11  2002/02/22 14:31:30  urut
 minor changes

 Revision 1.10  2002/02/22 12:38:55  urut
 modifications to process SUCCESS response to v2 request

 Revision 1.9  2002/02/22 07:39:11  alani
 added ScepError & ScepPending Exceptions

 Revision 1.8  2002/02/15 10:12:20  urut
 changed endEntityxxxx -> scepxxxx (because of v2 scep)

 Revision 1.7  2002/02/15 06:11:09  urut
 merge with alani
 lots of mods for incorporating full support for HTTP communication with SCEPD; Httpd client is now capable of reading multipart-mime (sort of....??) messages

 Revision 1.6  2002/02/13 12:55:22  alani
 some changes

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

 Revision 1.4  2002/02/07 12:48:04  urut
 printOut moved to utils

 Revision 1.3  2002/01/31 11:30:29  urut
 processing of SUCCESS repsonse completed

 Revision 1.2  2002/01/24 22:18:11  urut
 lots of modifications; read response (CertRep), RSA decrypt, DES-cbc decrypt,
 bouncy fix for reading SET/SEQUENCE with length=0

 Revision 1.1  2002/01/24 00:12:02  urut
 initial release

 

Since:
$Date: 2002/03/02 01:46:39 $
Version:
$Revision: 1.14 $
Author:
urut

Field Summary
private static int CERTREP
           
(package private)  ScepClient client
           
private static int FAILURE
           
private static int INVALID
           
(package private)  int messageTyp
           
private static int PENDING
           
(package private)  int pkiStatus
           
private static int SUCCESS
           
 
Constructor Summary
certRep()
           
 
Method Summary
 boolean Assert(ScepClient theClient)
           
 boolean Execute(ScepClient theClient)
           
 boolean readPKIMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESS

private static int SUCCESS

FAILURE

private static int FAILURE

PENDING

private static int PENDING

INVALID

private static int INVALID

CERTREP

private static int CERTREP

client

ScepClient client

pkiStatus

int pkiStatus

messageTyp

int messageTyp
Constructor Detail

certRep

public certRep()
Method Detail

Assert

public boolean Assert(ScepClient theClient)
               throws IOException
Specified by:
Assert in interface ScepCommand
IOException

readPKIMessage

public boolean readPKIMessage()
                       throws ScepPending
ScepPending

Execute

public boolean Execute(ScepClient theClient)
                throws IOException,
                       ScepPending,
                       ScepError
Specified by:
Execute in interface ScepCommand
IOException
ScepPending
ScepError


ScepClient is copyright by Ueli Rutishauser + Alain Schaefer