Skip to content

Commit

Permalink
QPID-8663: [Broker-J] AESKeyFileEncrypter deprecated since 9.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vavrtom committed Jan 30, 2024
1 parent 2f4dd51 commit 68dc0f7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/**
* Class is deprecated in favor of AESGCMKeyFileEncrypter, it will be deleted in one of the next releases
*/
@Deprecated(since = "9.1.1", forRemoval = true)
@Deprecated(since = "9.2.0", forRemoval = true)
class AESKeyFileEncrypter implements ConfigurationSecretEncrypter
{
private static final String CIPHER_NAME = "AES/CBC/PKCS5Padding";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* Class is deprecated in favor of AESGCMKeyFileEncrypterFactory, it will be deleted in one of the next releases
*/
@PluggableService
@Deprecated(since = "9.1.1", forRemoval = true)
@Deprecated(since = "9.2.0", forRemoval = true)
public class AESKeyFileEncrypterFactory extends AbstractAESKeyFileEncrypterFactory
{
public static final String TYPE = "AESKeyFile";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@

import org.apache.qpid.test.utils.UnitTestBase;

/**
* Unit test is deprecated due to deprecation of AESKeyFileEncrypterFactory, it will be deleted in one of the next releases
*/
@Deprecated(since = "9.2.0", forRemoval = true)
public class AESKeyFileEncrypterFactoryTest extends UnitTestBase
{
private AESKeyFileEncrypterFactory _factory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
import org.apache.qpid.test.utils.UnitTestBase;

/**
* Unit test is deprecated due to deprecation of AESGCMKeyFileEncrypter, it will be deleted in one of the next releases
* Unit test is deprecated due to deprecation of AESKeyFileEncrypter, it will be deleted in one of the next releases
*/
@Deprecated(since = "9.1.1", forRemoval = true)
@Deprecated(since = "9.2.0", forRemoval = true)
public class AESKeyFileEncrypterTest extends UnitTestBase
{
private final SecureRandom _random = new SecureRandom();
Expand Down

0 comments on commit 68dc0f7

Please sign in to comment.