Package org.bouncycastle.crypto.tls
Class TlsRsaKeyExchange
- java.lang.Object
-
- org.bouncycastle.crypto.tls.TlsRsaKeyExchange
-
public abstract class TlsRsaKeyExchange extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
PRE_MASTER_SECRET_LENGTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
decryptPreMasterSecret(byte[] in, int inOff, int inLen, RSAKeyParameters privateKey, int protocolVersion, java.security.SecureRandom secureRandom)
static int
getInputLimit(RSAKeyParameters privateKey)
-
-
-
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)
-
-