public class TestEncryption extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
TestEncryption() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkTransformSymmetry(byte[] keyBytes,
byte[] iv,
byte[] plaintext) |
private byte[] |
getRandomBlock(int size) |
void |
testIncrementIV() |
void |
testLargeBlocks() |
void |
testOddSizedBlocks() |
void |
testSmallBlocks() |
void |
testTypicalHFileBlocks() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestEncryption()
public void testSmallBlocks() throws Exception
Exceptionpublic void testLargeBlocks() throws Exception
Exceptionpublic void testOddSizedBlocks() throws Exception
Exceptionpublic void testTypicalHFileBlocks() throws Exception
Exceptionpublic void testIncrementIV()
private void checkTransformSymmetry(byte[] keyBytes, byte[] iv, byte[] plaintext) throws Exception
Exceptionprivate byte[] getRandomBlock(int size)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.