Create Unit Test for EncryptService's Failed Decryption 34/109834/3
authorYaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
Thu, 18 Jan 2024 12:47:13 +0000 (14:47 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 22 Jan 2024 15:40:07 +0000 (15:40 +0000)
commitd61a75e3d8dba363737c06575f31cb4c905a6312
tree7eb7d29ddc3e33c8e78a88f8da471b47a41792b8
parentf3e6c8bf4be315fe875110e53d1ce0ca23bc7f68
Create Unit Test for EncryptService's Failed Decryption

Added a unit test demonstrating that the decrypt method returns
the same password due to a failed decryption process,
resulting in an IllegalBlockSizeException.

JIRA: NETCONF-1216
Change-Id: I658a03d6dc81844c5e7f419c17dc13ca0602c85b
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
aaa-encrypt-service/impl/src/test/java/org/opendaylight/aaa/encrypt/impl/AAAEncryptServiceImplTest.java