Package org.bouncycastle.tls
Class TlsRSAUtils
java.lang.Object
org.bouncycastle.tls.TlsRSAUtils
RSA utility methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TlsSecret
generateEncryptedPreMasterSecret
(TlsContext context, TlsCertificate certificate, OutputStream output) Deprecated.
-
Constructor Details
-
TlsRSAUtils
public TlsRSAUtils()
-
-
Method Details
-
generateEncryptedPreMasterSecret
public static TlsSecret generateEncryptedPreMasterSecret(TlsContext context, TlsCertificate certificate, OutputStream output) throws IOException Deprecated.Generate a pre_master_secret and send it encrypted to the server.- Throws:
IOException
-
TlsUtils.generateEncryptedPreMasterSecret(TlsContext, TlsEncryptor, OutputStream)
instead.