private void setCryptoAES(String clientCryptoAES, String serverCryptoAES) {
    clientConf.set("hbase.rpc.crypto.encryption.aes.enabled", clientCryptoAES);
    serverConf.set("hbase.rpc.crypto.encryption.aes.enabled", serverCryptoAES);
  }
Test various combinations of Server and Client configuration for Crypto AES.
hbase-server/src/test/java/org/apache/hadoop/hbase/security/AbstractTestSecureIPC.java