Created
December 2, 2020 12:26
-
-
Save tanopwan/363f394c4f5f645fbedec6f8d41becc9 to your computer and use it in GitHub Desktop.
Interface class for org.apache.orc.impl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.apache.orc.impl; | |
import java.io.IOException; | |
import java.security.Key; | |
import java.util.List; | |
import java.util.Random; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.orc.impl.HadoopShims.KeyMetadata; | |
import org.apache.orc.impl.HadoopShims.KeyProviderKind; | |
public interface KeyProvider { | |
List<String> getKeyNames() throws IOException; | |
KeyMetadata getCurrentKeyVersion(String var1) throws IOException; | |
LocalKey createLocalKey(KeyMetadata var1) throws IOException; | |
Key decryptLocalKey(KeyMetadata var1, byte[] var2) throws IOException; | |
KeyProviderKind getKind(); | |
public interface Factory { | |
KeyProvider create(String var1, Configuration var2, Random var3) throws IOException; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment