@InterfaceAudience.Public @InterfaceStability.Evolving public class EncryptionTest extends Object
| Modifier and Type | Method and Description | 
|---|---|
static void | 
testCipherProvider(Configuration conf)
Check that the configured cipher provider can be loaded and initialized, or
 throw an exception. 
 | 
static void | 
testEncryption(Configuration conf,
              String cipher,
              byte[] key)
Check that the specified cipher can be loaded and initialized, or throw
 an exception. 
 | 
static void | 
testKeyProvider(Configuration conf)
Check that the configured key provider can be loaded and initialized, or
 throw an exception. 
 | 
public static void testKeyProvider(Configuration conf)
                            throws IOException
conf - IOExceptionpublic static void testCipherProvider(Configuration conf)
                               throws IOException
conf - IOExceptionpublic static void testEncryption(Configuration conf,
                                  String cipher,
                                  byte[] key)
                           throws IOException
conf - cipher - key - IOException