Package org.apache.hadoop.hbase.security
Class TestEncryptionUtil
java.lang.Object
org.apache.hadoop.hbase.security.TestEncryptionUtil
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final String
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
private void
testKeyWrapping
(String hashAlgorithm) void
void
void
void
void
private void
testKeyWrappingWithMismatchingAlgorithms
(org.apache.hadoop.conf.Configuration conf) private void
testWALKeyWrapping
(String hashAlgorithm) void
void
void
void
void
void
-
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
-