Package org.bouncycastle.crypto.tls
Class SRPTlsClient
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsPeer
-
- org.bouncycastle.crypto.tls.AbstractTlsClient
-
- org.bouncycastle.crypto.tls.SRPTlsClient
-
public class SRPTlsClient extends AbstractTlsClient
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected TlsSRPGroupVerifier
groupVerifier
Deprecated.protected byte[]
identity
Deprecated.protected byte[]
password
Deprecated.-
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms
-
-
Constructor Summary
Constructors Constructor Description SRPTlsClient(byte[] identity, byte[] password)
Deprecated.SRPTlsClient(TlsCipherFactory cipherFactory, byte[] identity, byte[] password)
Deprecated.SRPTlsClient(TlsCipherFactory cipherFactory, TlsSRPGroupVerifier groupVerifier, byte[] identity, byte[] password)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TlsKeyExchange
createSRPKeyExchange(int keyExchange)
Deprecated.TlsAuthentication
getAuthentication()
Deprecated.int[]
getCipherSuites()
Deprecated.java.util.Hashtable
getClientExtensions()
Deprecated.TlsKeyExchange
getKeyExchange()
Deprecated.void
processServerExtensions(java.util.Hashtable serverExtensions)
Deprecated.protected boolean
requireSRPServerExtension()
Deprecated.-
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerSupplementalData
-
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bouncycastle.crypto.tls.TlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
-
-
-
-
Field Detail
-
groupVerifier
protected TlsSRPGroupVerifier groupVerifier
Deprecated.
-
identity
protected byte[] identity
Deprecated.
-
password
protected byte[] password
Deprecated.
-
-
Constructor Detail
-
SRPTlsClient
public SRPTlsClient(byte[] identity, byte[] password)
Deprecated.
-
SRPTlsClient
public SRPTlsClient(TlsCipherFactory cipherFactory, byte[] identity, byte[] password)
Deprecated.
-
SRPTlsClient
public SRPTlsClient(TlsCipherFactory cipherFactory, TlsSRPGroupVerifier groupVerifier, byte[] identity, byte[] password)
Deprecated.
-
-
Method Detail
-
requireSRPServerExtension
protected boolean requireSRPServerExtension()
Deprecated.
-
getCipherSuites
public int[] getCipherSuites()
Deprecated.
-
getClientExtensions
public java.util.Hashtable getClientExtensions() throws java.io.IOException
Deprecated.- Specified by:
getClientExtensions
in interfaceTlsClient
- Overrides:
getClientExtensions
in classAbstractTlsClient
- Throws:
java.io.IOException
-
processServerExtensions
public void processServerExtensions(java.util.Hashtable serverExtensions) throws java.io.IOException
Deprecated.- Specified by:
processServerExtensions
in interfaceTlsClient
- Overrides:
processServerExtensions
in classAbstractTlsClient
- Throws:
java.io.IOException
-
getKeyExchange
public TlsKeyExchange getKeyExchange() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getAuthentication
public TlsAuthentication getAuthentication() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createSRPKeyExchange
protected TlsKeyExchange createSRPKeyExchange(int keyExchange)
Deprecated.
-
-