Class TlsRsaKeyExchange
- Namespace
- Org.BouncyCastle.Crypto.Tls
- Assembly
- BouncyCastle.Cryptography.dll
public static class TlsRsaKeyExchange
- Inheritance
-
TlsRsaKeyExchange
- Inherited Members
Fields
PreMasterSecretLength
public const int PreMasterSecretLength = 48
Field Value
Methods
DecryptPreMasterSecret(byte[], int, int, RsaKeyParameters, int, SecureRandom)
public static byte[] DecryptPreMasterSecret(byte[] buf, int off, int len, RsaKeyParameters privateKey, int protocolVersion, SecureRandom secureRandom)
Parameters
bufbyte[]offintlenintprivateKeyRsaKeyParametersprotocolVersionintsecureRandomSecureRandom
Returns
- byte[]
GetInputLimit(RsaKeyParameters)
public static int GetInputLimit(RsaKeyParameters privateKey)
Parameters
privateKeyRsaKeyParameters