Package org.apache.hadoop.hbase.security
Class TestEncryptionUtil
java.lang.Object
org.apache.hadoop.hbase.security.TestEncryptionUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final Stringprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprivate voidtestKeyWrapping(String hashAlgorithm) voidvoidvoidvoidvoidprivate voidtestKeyWrappingWithMismatchingAlgorithms(org.apache.hadoop.conf.Configuration conf) private voidtestWALKeyWrapping(String hashAlgorithm) voidvoidvoidvoidvoidvoid
-
Field Details
-
INVALID_HASH_ALG
- See Also:
-
DEFAULT_HASH_ALGORITHM
- See Also:
-
CLASS_RULE
-
-
Constructor Details
-
TestEncryptionUtil
public TestEncryptionUtil()
-
-
Method Details
-
testKeyWrappingUsingHashAlgDefault
- Throws:
Exception
-
testKeyWrappingUsingHashAlgMD5
- Throws:
Exception
-
testKeyWrappingUsingHashAlgSHA256
- Throws:
Exception
-
testKeyWrappingUsingHashAlgSHA384
- Throws:
Exception
-
testKeyWrappingWithInvalidHashAlg
- Throws:
Exception
-
testWALKeyWrappingUsingHashAlgDefault
- Throws:
Exception
-
testWALKeyWrappingUsingHashAlgMD5
- Throws:
Exception
-
testWALKeyWrappingUsingHashAlgSHA256
- Throws:
Exception
-
testWALKeyWrappingUsingHashAlgSHA384
- Throws:
Exception
-
testWALKeyWrappingWithInvalidHashAlg
- Throws:
Exception
-
testWALKeyWrappingWithIncorrectKey
- Throws:
Exception
-
testHashAlgorithmMismatchWhenFailExpected
- Throws:
Exception
-
testHashAlgorithmMismatchWhenFailNotExpected
- Throws:
Exception
-
testHashAlgorithmMismatchShouldNotFailWithDefaultConfig
- Throws:
Exception
-
testKeyWrapping
- Throws:
Exception
-
testWALKeyWrapping
- Throws:
Exception
-
testKeyWrappingWithMismatchingAlgorithms
private void testKeyWrappingWithMismatchingAlgorithms(org.apache.hadoop.conf.Configuration conf) throws Exception - Throws:
Exception
-