Class KeyProviderForTesting

java.lang.Object
org.apache.hadoop.hbase.io.crypto.KeyProviderForTesting
All Implemented Interfaces:
org.apache.hadoop.hbase.io.crypto.KeyProvider

public class KeyProviderForTesting extends Object implements org.apache.hadoop.hbase.io.crypto.KeyProvider
Return a fixed secret key for AES for testing.
  • Constructor Details

  • Method Details

    • init

      public void init(String parameters)
      Specified by:
      init in interface org.apache.hadoop.hbase.io.crypto.KeyProvider
    • getKey

      public Key getKey(String name)
      Specified by:
      getKey in interface org.apache.hadoop.hbase.io.crypto.KeyProvider
    • getKeys

      public Key[] getKeys(String[] aliases)
      Specified by:
      getKeys in interface org.apache.hadoop.hbase.io.crypto.KeyProvider