Bouncy Castle Cryptography 1.50

org.bouncycastle.crypto.tls
Class TlsRSAUtils

java.lang.Object
  extended by org.bouncycastle.crypto.tls.TlsRSAUtils

public class TlsRSAUtils
extends java.lang.Object


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

Constructor Detail

TlsRSAUtils

public TlsRSAUtils()
Method Detail

generateEncryptedPreMasterSecret

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

safeDecryptPreMasterSecret

public static byte[] safeDecryptPreMasterSecret(TlsContext context,
                                                TlsEncryptionCredentials encryptionCredentials,
                                                byte[] encryptedPreMasterSecret)

Bouncy Castle Cryptography 1.50