Class LocalKey

java.lang.Object
org.apache.orc.impl.LocalKey

public class LocalKey extends Object
Local keys are random keys that are generated for each file and column. The file's metadata includes the encryptedKey and the reader needs to use the KeyProvider to get the decryptedKey.
  • Constructor Details

    • LocalKey

      public LocalKey(EncryptionAlgorithm algorithm, byte[] decryptedKey, byte[] encryptedKey)
  • Method Details

    • setDecryptedKey

      public void setDecryptedKey(Key key)
    • getDecryptedKey

      public Key getDecryptedKey()
    • getEncryptedKey

      public byte[] getEncryptedKey()