- public static final String AES = "AES";
- public static final String KEY_PARAM = "org.onap.clamp.encryption.aes.key";
- @Autowired
- private Environment springEnv;
- private SecretKeySpec secretKeySpec;
-
- /**
- * Initialize Method
- *
- */
- @PostConstruct
- public void init() {
- secretKeySpec = getSecretKeySpec(springEnv.getProperty(KEY_PARAM));
- }
+ public static final String AES = "AES";
+ public static final String KEY_PARAM = "org.onap.clamp.encryption.aes.key";
+ private SecretKeySpec secretKeySpec = getSecretKeySpec("aa3871669d893c7fb8abbcda31b88b4f");