org.gudy.bouncycastle.jce.provider
Class RSAUtil

java.lang.Object
  extended by org.gudy.bouncycastle.jce.provider.RSAUtil

public class RSAUtil
extends java.lang.Object

utility class for converting java.security RSA objects into their org.gudy.bouncycastle.crypto counterparts.


Constructor Summary
RSAUtil()
           
 
Method Summary
static RSAKeyParameters generatePrivateKeyParameter(java.security.interfaces.RSAPrivateKey key)
           
static RSAKeyParameters generatePublicKeyParameter(java.security.interfaces.RSAPublicKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAUtil

public RSAUtil()
Method Detail

generatePublicKeyParameter

public static RSAKeyParameters generatePublicKeyParameter(java.security.interfaces.RSAPublicKey key)

generatePrivateKeyParameter

public static RSAKeyParameters generatePrivateKeyParameter(java.security.interfaces.RSAPrivateKey key)