public class EncryptionServiceImplTest extends Object
EncryptionServiceImpl| Constructor and Description |
|---|
EncryptionServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testDecryptBlankValue() |
void |
testDecryptNullByteArray() |
void |
testDecryptNullValue() |
void |
testDefaultAlgorithmIsDES()
The default algorithm used should be DES so that it's compatible with the
DemonstrationGradeEncryptionServiceImpl |
void |
testDESedeEncryptDecrypt() |
void |
testDESedeEncryptDecryptBytes() |
void |
testDESEncryptDecrypt() |
void |
testDESEncryptDecryptBytes() |
void |
testDisabledEncryptionService() |
void |
testEcryptNullByteArray() |
void |
testEncryptNullValue() |
void |
testEncryptWhenDisabled() |
void |
testHash() |
void |
testHashNullAndEmpty() |
void |
testInjectSecretKey()
Encryption service should be enabled once a key is injected
|
void |
testInvalidAlgorithm() |
void |
testInvalidCharset_Decrypt() |
void |
testInvalidCharset_Encrypt() |
void |
testInvalidCharset_EncryptBytes() |
void |
testInvalidCharset_Hash() |
void |
testLoadSecretKeyFromConfig() |
void |
testSetSecretKeyAfterInitialization() |
public EncryptionServiceImplTest()
public void tearDown()
public void testDisabledEncryptionService() throws Exception
Exceptionpublic void testDefaultAlgorithmIsDES() throws Exception
DemonstrationGradeEncryptionServiceImplExceptionpublic void testInjectSecretKey() throws Exception
Exceptionpublic void testLoadSecretKeyFromConfig() throws Exception
Exceptionpublic void testInvalidAlgorithm() throws Exception
Exceptionpublic void testDESedeEncryptDecrypt() throws Exception
Exceptionpublic void testDESedeEncryptDecryptBytes() throws Exception
Exceptionpublic void testDESEncryptDecrypt() throws Exception
Exceptionpublic void testDESEncryptDecryptBytes() throws Exception
Exceptionpublic void testEncryptWhenDisabled() throws Exception
Exceptionpublic void testEncryptNullValue() throws Exception
Exceptionpublic void testEcryptNullByteArray() throws Exception
Exceptionpublic void testDecryptNullValue() throws Exception
Exceptionpublic void testDecryptBlankValue() throws Exception
Exceptionpublic void testDecryptNullByteArray() throws Exception
Exceptionpublic void testSetSecretKeyAfterInitialization() throws Exception
Exceptionpublic void testHashNullAndEmpty() throws Exception
Exceptionpublic void testInvalidCharset_Encrypt() throws Exception
Exceptionpublic void testInvalidCharset_Decrypt() throws Exception
Exceptionpublic void testInvalidCharset_EncryptBytes() throws Exception
Exceptionpublic void testInvalidCharset_Hash() throws Exception
ExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.