Javadocs.

This commit is contained in:
akwizgran
2011-09-21 18:09:56 +01:00
parent e589d44d9f
commit eba6884281
2 changed files with 5 additions and 6 deletions

View File

@@ -12,9 +12,9 @@ public interface ConnectionWriter {
OutputStream getOutputStream(); OutputStream getOutputStream();
/** /**
* Returns the number of encrypted and authenticated bytes that can be * Returns the number of bytes that can be written to this writer without
* written without writing more than the given number of bytes, including * outputting more than the given number of bytes, including encryption and
* encryption and authentication overhead. * authentication overhead.
*/ */
long getCapacity(long capacity); long getCapacity(long capacity);
} }

View File

@@ -13,9 +13,8 @@ interface ConnectionEncrypter {
void writeMac(byte[] mac) throws IOException; void writeMac(byte[] mac) throws IOException;
/** /**
* Returns the number of encrypted bytes that can be written without * Returns the number of bytes that can be encrypted without outputting
* writing more than the given number of bytes, including encryption * more than the given number of bytes, including encryption overhead.
* overhead.
*/ */
long getCapacity(long capacity); long getCapacity(long capacity);
} }