F-9321 / F-9322: correct key state precondition in AesCcm and AesGcm javadoc
parent
377b1ae5b7
commit
145c212625
|
|
@ -217,10 +217,10 @@ public class AesCcm extends NativeStruct {
|
|||
* @param authIn additional data to be authenticated but not encrypted,
|
||||
* can be null if no additional data desired or available.
|
||||
*
|
||||
* @return encrypted cipertext buffer
|
||||
* @return encrypted ciphertext buffer
|
||||
*
|
||||
* @throws WolfCryptException if native operation fails
|
||||
* @throws IllegalStateException if key has already been set, if object
|
||||
* @throws IllegalStateException if key has not been set, if object
|
||||
* fails to initialize, or if releaseNativeStruct() has been
|
||||
* called and object has been released.
|
||||
*/
|
||||
|
|
@ -251,7 +251,7 @@ public class AesCcm extends NativeStruct {
|
|||
* @return decrypted plaintext buffer
|
||||
*
|
||||
* @throws WolfCryptException if native operation fails
|
||||
* @throws IllegalStateException if key has already been set, if object
|
||||
* @throws IllegalStateException if key has not been set, if object
|
||||
* fails to initialize, or if releaseNativeStruct() has been
|
||||
* called and object has been released.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -218,10 +218,10 @@ public class AesGcm extends NativeStruct {
|
|||
* @param authIn additional data to be authenticated but not encrypted,
|
||||
* can be null if no additional data desired or available.
|
||||
*
|
||||
* @return encrypted cipertext buffer
|
||||
* @return encrypted ciphertext buffer
|
||||
*
|
||||
* @throws WolfCryptException if native operation fails
|
||||
* @throws IllegalStateException if key has already been set, if object
|
||||
* @throws IllegalStateException if key has not been set, if object
|
||||
* fails to initialize, or if releaseNativeStruct() has been
|
||||
* called and object has been released.
|
||||
*/
|
||||
|
|
@ -252,7 +252,7 @@ public class AesGcm extends NativeStruct {
|
|||
* @return decrypted plaintext buffer
|
||||
*
|
||||
* @throws WolfCryptException if native operation fails
|
||||
* @throws IllegalStateException if key has already been set, if object
|
||||
* @throws IllegalStateException if key has not been set, if object
|
||||
* fails to initialize, or if releaseNativeStruct() has been
|
||||
* called and object has been released.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue