Package org.bouncycastle.crypto.tls
Class DTLSTransport
- java.lang.Object
-
- org.bouncycastle.crypto.tls.DTLSTransport
-
- All Implemented Interfaces:
DatagramTransport,TlsCloseable
public class DTLSTransport extends java.lang.Object implements DatagramTransport
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.intgetReceiveLimit()Deprecated.intgetSendLimit()Deprecated.intreceive(byte[] buf, int off, int len, int waitMillis)Deprecated.voidsend(byte[] buf, int off, int len)Deprecated.
-
-
-
Method Detail
-
getReceiveLimit
public int getReceiveLimit() throws java.io.IOExceptionDeprecated.- Specified by:
getReceiveLimitin interfaceDatagramTransport- Throws:
java.io.IOException
-
getSendLimit
public int getSendLimit() throws java.io.IOExceptionDeprecated.- Specified by:
getSendLimitin interfaceDatagramTransport- Throws:
java.io.IOException
-
receive
public int receive(byte[] buf, int off, int len, int waitMillis) throws java.io.IOExceptionDeprecated.- Specified by:
receivein interfaceDatagramTransport- Throws:
java.io.IOException
-
send
public void send(byte[] buf, int off, int len) throws java.io.IOExceptionDeprecated.- Specified by:
sendin interfaceDatagramTransport- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOExceptionDeprecated.- Specified by:
closein interfaceTlsCloseable- Throws:
java.io.IOException
-
-