ch.othello.openscep.internal
Class CryptUtils

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

public class CryptUtils
extends Object

 $Id: CryptUtils.java,v 1.2 2002/02/15 13:21:12 urut Exp $
 $Log: CryptUtils.java,v $
 Revision 1.2  2002/02/15 13:21:12  urut
 first complete implementation of scep v2

 Revision 1.1  2002/02/15 13:06:59  urut
 initial


 

Since:
$Date: 2002/02/15 13:21:12 $
Version:
$Revision: 1.2 $
Author:
urut

Constructor Summary
CryptUtils()
           
 
Method Summary
static byte[] DESencryptWithPadding(byte[] input, byte[] desKey)
           
static byte[] generateRandomDESKey(SecureRandom rand)
           
static byte[] RSAencryptWithPadding(byte[] toEncrypt, org.bouncycastle.asn1.x509.RSAPublicKeyStructure key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptUtils

public CryptUtils()
Method Detail

generateRandomDESKey

public static byte[] generateRandomDESKey(SecureRandom rand)

RSAencryptWithPadding

public static byte[] RSAencryptWithPadding(byte[] toEncrypt,
                                           org.bouncycastle.asn1.x509.RSAPublicKeyStructure key)

DESencryptWithPadding

public static byte[] DESencryptWithPadding(byte[] input,
                                           byte[] desKey)


ScepClient is copyright by Ueli Rutishauser + Alain Schaefer