org.bouncycastle.crypto.tls
Class SRPTlsClient
java.lang.Object
org.bouncycastle.crypto.tls.AbstractTlsPeer
org.bouncycastle.crypto.tls.AbstractTlsClient
org.bouncycastle.crypto.tls.SRPTlsClient
- All Implemented Interfaces:
- TlsClient, TlsPeer
public abstract class SRPTlsClient
- extends AbstractTlsClient
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient |
getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, init, notifyHandshakeComplete, notifyNewSessionTicket, notifySecureRenegotiation, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerSupplementalData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXT_SRP
public static final java.lang.Integer EXT_SRP
identity
protected byte[] identity
password
protected byte[] password
SRPTlsClient
public SRPTlsClient(byte[] identity,
byte[] password)
SRPTlsClient
public SRPTlsClient(TlsCipherFactory cipherFactory,
byte[] identity,
byte[] password)
getCipherSuites
public int[] getCipherSuites()
getClientExtensions
public java.util.Hashtable getClientExtensions()
throws java.io.IOException
- Specified by:
getClientExtensions
in interface TlsClient
- Overrides:
getClientExtensions
in class AbstractTlsClient
- Throws:
java.io.IOException
processServerExtensions
public void processServerExtensions(java.util.Hashtable serverExtensions)
throws java.io.IOException
- Specified by:
processServerExtensions
in interface TlsClient
- Overrides:
processServerExtensions
in class AbstractTlsClient
- Throws:
java.io.IOException
getKeyExchange
public TlsKeyExchange getKeyExchange()
throws java.io.IOException
- Throws:
java.io.IOException
getCipher
public TlsCipher getCipher()
throws java.io.IOException
- Throws:
java.io.IOException
createSRPKeyExchange
protected TlsKeyExchange createSRPKeyExchange(int keyExchange)