[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ./ChangeLog javax/crypto/CipherInputS...
From: |
Casey Marshall |
Subject: |
[commit-cp] classpath ./ChangeLog javax/crypto/CipherInputS... |
Date: |
Sat, 07 Jan 2006 06:58:38 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Casey Marshall <address@hidden> 06/01/07 06:58:38
Modified files:
. : ChangeLog
javax/crypto : CipherInputStream.java
Log message:
2006-01-06 Casey Marshall <address@hidden>
PR classpath/25699
* javax/crypto/CipherInputStream.java (logger): new constant.
(cipher): make final.
(outLength, inBuffer, inLength): removed.
(isStream): make final.
(VIRGIN, LIVING, DYING, DEAD, state): removed.
(eof): new field.
(<init>): call `super,' not `this;' remove `inBuffer' and
`outBuffer' initialization; init `eof;' add debug logging.
(<init>): call `this' with a new null cipher.
(available): fix javadoc to reflect the real semantics; if we
don't have a buffer, call `nextBlock.'
(close): synchronize.
(read): synchronize; fix testing for buffered data.
(read): synchronize; add `skip' semantics if first argument is
`null;' decrypt stream cipher data only if there is any; fix tests
for buffered data.
(skip): stop using `available' to see how many data are buffered.
(nextBlock): simplify to use cipher-allocated output buffers
instead of internally allocated ones.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5958&tr2=1.5959&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/crypto/CipherInputStream.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath ./ChangeLog javax/crypto/CipherInputS...,
Casey Marshall <=