List of usage examples for com.liferay.portal.kernel.util PropsKeys COMPANY_ENCRYPTION_ALGORITHM
String COMPANY_ENCRYPTION_ALGORITHM
To view the source code for com.liferay.portal.kernel.util PropsKeys COMPANY_ENCRYPTION_ALGORITHM.
Click Source Link
From source file:com.liferay.petra.encryptor.EncryptorTest.java
License:Open Source License
@Before public void setUp() { _props = PropsUtil.getProps();/*from w w w .jav a2 s . c o m*/ Props props = mock(Props.class); PropsUtil.setProps(props); when(props.get(Mockito.eq(PropsKeys.COMPANY_ENCRYPTION_ALGORITHM))).thenReturn("AES"); when(props.get(Mockito.eq(PropsKeys.COMPANY_ENCRYPTION_KEY_SIZE))).thenReturn("128"); }