Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class TlsRSAUtils

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.TlsRSAUtils

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public class TlsRSAUtils
extends java.lang.Object


Constructor Summary
TlsRSAUtils()
          Deprecated.  
 
Method Summary
static byte[] generateEncryptedPreMasterSecret(TlsContext context, RSAKeyParameters rsaServerPublicKey, java.io.OutputStream output)
          Deprecated.  
static byte[] safeDecryptPreMasterSecret(TlsContext context, RSAKeyParameters rsaServerPrivateKey, byte[] encryptedPreMasterSecret)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TlsRSAUtils

public TlsRSAUtils()
Deprecated. 
Method Detail

generateEncryptedPreMasterSecret

public static byte[] generateEncryptedPreMasterSecret(TlsContext context,
                                                      RSAKeyParameters rsaServerPublicKey,
                                                      java.io.OutputStream output)
                                               throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

safeDecryptPreMasterSecret

public static byte[] safeDecryptPreMasterSecret(TlsContext context,
                                                RSAKeyParameters rsaServerPrivateKey,
                                                byte[] encryptedPreMasterSecret)
Deprecated. 

Bouncy Castle Cryptography Library 1.64