RFR: JDK-8284851 Update javax.crypto files to use proper javadoc for mentioned classes [v6]

Valerie Peng valeriep at openjdk.org
Wed Jul 6 22:39:25 UTC 2022


On Tue, 5 Jul 2022 15:37:55 GMT, Mark Powers <duke at openjdk.org> wrote:

>> https://bugs.openjdk.org/browse/JDK-8284851
>
> Mark Powers has updated the pull request incrementally with one additional commit since the last revision:
> 
>   aw shucks - another one

src/java.base/share/classes/javax/crypto/CipherSpi.java line 385:

> 383:      * previously-acquired state. In other words, initializing a {@code Cipher}
> 384:      * object is equivalent to creating a new instance of that
> 385:      * {@code Cipher} and initializing it.

add object to {@code Cipher} here.

src/java.base/share/classes/javax/crypto/CipherSpi.java line 445:

> 443:      *
> 444:      * @param opmode the operation mode of this {@code Cipher} (this is one of
> 445:      * the following:

add object to {@code Cipher} here.

src/java.base/share/classes/javax/crypto/CipherSpi.java line 597:

> 595:      * decryption mode, and (un)padding has been requested, but the decrypted
> 596:      * data is not bounded by the appropriate padding bytes
> 597:      * @throws AEADBadTagException if this {@code Cipher} is decrypting in an

add object to {@code Cipher} here.

src/java.base/share/classes/javax/crypto/CipherSpi.java line 608:

> 606:      * Encrypts or decrypts data in a single-part operation,
> 607:      * or finishes a multiple-part operation.
> 608:      * The data is encrypted or decrypted, depending on how this {@code Cipher}

add object to {@code Cipher} here.

src/java.base/share/classes/javax/crypto/CipherSpi.java line 624:

> 622:      * a {@code ShortBufferException} is thrown.
> 623:      *
> 624:      * <p>Upon finishing, this method resets this {@code Cipher} to the state

add object to {@code Cipher} here.

-------------

PR: https://git.openjdk.org/jdk/pull/9282



More information about the security-dev mailing list