Class EncryptorAesCbc
- java.lang.Object
-
- org.correomqtt.business.encryption.EncryptorAesCbc
-
- All Implemented Interfaces:
Encryptor
@Deprecated(since="0.15.0", forRemoval=true) public class EncryptorAesCbc extends Object implements Encryptor
Deprecated, for removal: This API element is subject to removal in a future version.Will be removed due to security issues. Current implementation is used for migration only.
-
-
Field Summary
Fields Modifier and Type Field Description static StringENCRYPTION_TRANSFORMATIONDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description EncryptorAesCbc(String password)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringdecrypt(String encryptedData)Deprecated, for removal: This API element is subject to removal in a future version.Stringencrypt(String dataToEncrypt)Deprecated, for removal: This API element is subject to removal in a future version.StringgetEncryptionTranslation()Deprecated, for removal: This API element is subject to removal in a future version.StringpasswordsDTOtoString(PasswordsDTO passwordsDTO)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Field Detail
-
ENCRYPTION_TRANSFORMATION
public static final String ENCRYPTION_TRANSFORMATION
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EncryptorAesCbc
public EncryptorAesCbc(String password)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
decrypt
public String decrypt(String encryptedData) throws EncryptionRecoverableException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
decryptin interfaceEncryptor- Throws:
EncryptionRecoverableException
-
encrypt
public String encrypt(String dataToEncrypt)
Deprecated, for removal: This API element is subject to removal in a future version.
-
passwordsDTOtoString
public String passwordsDTOtoString(PasswordsDTO passwordsDTO)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
passwordsDTOtoStringin interfaceEncryptor
-
getEncryptionTranslation
public String getEncryptionTranslation()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getEncryptionTranslationin interfaceEncryptor
-
-