All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qcloud.cos.thirdparty.org.bouncycastle.crypto.tls.DatagramTransport Maven / Gradle / Ivy

package org.bouncycastle.crypto.tls;

import java.io.IOException;

/**
 * Base interface for an object sending and receiving DTLS data.
 *
 * @deprecated Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
 */
public interface DatagramTransport
    extends TlsCloseable
{
    int getReceiveLimit()
        throws IOException;

    int getSendLimit()
        throws IOException;

    int receive(byte[] buf, int off, int len, int waitMillis)
        throws IOException;

    void send(byte[] buf, int off, int len)
        throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy