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
Exception
public void testDefaultAlgorithmIsDES() throws Exception
DemonstrationGradeEncryptionServiceImpl
Exception
public void testInjectSecretKey() throws Exception
Exception
public void testLoadSecretKeyFromConfig() throws Exception
Exception
public void testInvalidAlgorithm() throws Exception
Exception
public void testDESedeEncryptDecrypt() throws Exception
Exception
public void testDESedeEncryptDecryptBytes() throws Exception
Exception
public void testDESEncryptDecrypt() throws Exception
Exception
public void testDESEncryptDecryptBytes() throws Exception
Exception
public void testEncryptWhenDisabled() throws Exception
Exception
public void testEncryptNullValue() throws Exception
Exception
public void testEcryptNullByteArray() throws Exception
Exception
public void testDecryptNullValue() throws Exception
Exception
public void testDecryptBlankValue() throws Exception
Exception
public void testDecryptNullByteArray() throws Exception
Exception
public void testSetSecretKeyAfterInitialization() throws Exception
Exception
public void testHashNullAndEmpty() throws Exception
Exception
public void testInvalidCharset_Encrypt() throws Exception
Exception
public void testInvalidCharset_Decrypt() throws Exception
Exception
public void testInvalidCharset_EncryptBytes() throws Exception
Exception
public void testInvalidCharset_Hash() throws Exception
Exception
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.