Skip to content
Snippets Groups Projects
Commit eba68842 authored by akwizgran's avatar akwizgran
Browse files

Javadocs.

parent e589d44d
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,9 @@ public interface ConnectionWriter {
OutputStream getOutputStream();
/**
* Returns the number of encrypted and authenticated bytes that can be
* written without writing more than the given number of bytes, including
* encryption and authentication overhead.
* Returns the number of bytes that can be written to this writer without
* outputting more than the given number of bytes, including encryption and
* authentication overhead.
*/
long getCapacity(long capacity);
}
......@@ -13,9 +13,8 @@ interface ConnectionEncrypter {
void writeMac(byte[] mac) throws IOException;
/**
* Returns the number of encrypted bytes that can be written without
* writing more than the given number of bytes, including encryption
* overhead.
* Returns the number of bytes that can be encrypted without outputting
* more than the given number of bytes, including encryption overhead.
*/
long getCapacity(long capacity);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment