Package dev.galasa.framework.spi.creds
Class FrameworkEncryptionService
java.lang.Object
dev.galasa.framework.spi.creds.FrameworkEncryptionService
- All Implemented Interfaces:
IEncryptionService
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFrameworkEncryptionService
(SecretKeySpec encryptionKey) FrameworkEncryptionService
(SecretKeySpec encryptionKey, IFileSystem fileSystem, Environment environment) FrameworkEncryptionService
(SecretKeySpec encryptionKey, IFileSystem fileSystem, Environment environment, SecureRandom secureRandom) -
Method Summary
-
Field Details
-
ENCRYPTION_KEYS_PATH_ENV
- See Also:
-
-
Constructor Details
-
FrameworkEncryptionService
- Throws:
CredentialsException
-
FrameworkEncryptionService
public FrameworkEncryptionService(SecretKeySpec encryptionKey, IFileSystem fileSystem, Environment environment) throws CredentialsException - Throws:
CredentialsException
-
FrameworkEncryptionService
public FrameworkEncryptionService(SecretKeySpec encryptionKey, IFileSystem fileSystem, Environment environment, SecureRandom secureRandom) throws CredentialsException - Throws:
CredentialsException
-
-
Method Details
-
encrypt
- Specified by:
encrypt
in interfaceIEncryptionService
- Throws:
CredentialsException
-
decrypt
- Specified by:
decrypt
in interfaceIEncryptionService
- Throws:
CredentialsException
-