Bouncy Castle Cryptography Library 1.81

org.bouncycastle.crypto.tls
Class TlsRsaKeyExchange

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

public abstract class TlsRsaKeyExchange
extends java.lang.Object


Field Summary
static int PRE_MASTER_SECRET_LENGTH
           
 
Method Summary
static byte[] decryptPreMasterSecret(byte[] in, int inOff, int inLen, RSAKeyParameters privateKey, int protocolVersion, java.security.SecureRandom secureRandom)
           
static int getInputLimit(RSAKeyParameters privateKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRE_MASTER_SECRET_LENGTH

public static final int PRE_MASTER_SECRET_LENGTH
See Also:
Constant Field Values
Method Detail

decryptPreMasterSecret

public static byte[] decryptPreMasterSecret(byte[] in,
                                            int inOff,
                                            int inLen,
                                            RSAKeyParameters privateKey,
                                            int protocolVersion,
                                            java.security.SecureRandom secureRandom)

getInputLimit

public static int getInputLimit(RSAKeyParameters privateKey)

Bouncy Castle Cryptography Library 1.81