ch.othello.openscep.internal
Class PKCS10Generate

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

public class PKCS10Generate
extends Object

generate a PKCS10 Key Request this class is currently not used

 $Id: PKCS10Generate.java,v 1.5 2002/03/02 01:45:39 alani Exp $
 $Log: PKCS10Generate.java,v $
 Revision 1.5  2002/03/02 01:45:39  alani
 comment, currently not used

 Revision 1.4  2002/01/10 15:51:13  alani
 fixed PKCS10Generate, removed generation of PKCS10 in certReq

 Revision 1.3  2002/01/10 15:31:25  urut
 pkcs10 generate

 Revision 1.2  2002/01/08 21:00:29  urut
 added javadoc header with cvs tags to every file

 

Since:
$Date: 2002/03/02 01:45:39 $
Version:
$Revision: 1.5 $
Author:
urut

Field Summary
private  RSAKeyPairGen theKeyPair
           
 
Constructor Summary
PKCS10Generate(RSAKeyPairGen theKeyPair)
           
 
Method Summary
private  byte[] derEncode(byte[] hash)
           
 org.bouncycastle.asn1.pkcs.CertificationRequest generate(org.bouncycastle.asn1.DERPrintableString challenge, org.bouncycastle.asn1.x509.X509Name x509name)
           
 org.bouncycastle.asn1.DERBitString signCertificationRequestInfo(org.bouncycastle.asn1.pkcs.CertificationRequestInfo creqInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theKeyPair

private RSAKeyPairGen theKeyPair
Constructor Detail

PKCS10Generate

public PKCS10Generate(RSAKeyPairGen theKeyPair)
Method Detail

signCertificationRequestInfo

public org.bouncycastle.asn1.DERBitString signCertificationRequestInfo(org.bouncycastle.asn1.pkcs.CertificationRequestInfo creqInfo)
                                                                throws Exception
Exception

generate

public org.bouncycastle.asn1.pkcs.CertificationRequest generate(org.bouncycastle.asn1.DERPrintableString challenge,
                                                                org.bouncycastle.asn1.x509.X509Name x509name)

derEncode

private byte[] derEncode(byte[] hash)
                  throws IOException
IOException


ScepClient is copyright by Ueli Rutishauser + Alain Schaefer