org.apache.flume.channel.file.encryption
Class JCEFileKeyProvider

java.lang.Object
  extended by org.apache.flume.channel.file.encryption.KeyProvider
      extended by org.apache.flume.channel.file.encryption.JCEFileKeyProvider

public class JCEFileKeyProvider
extends KeyProvider


Nested Class Summary
static class JCEFileKeyProvider.Builder
           
 
Constructor Summary
JCEFileKeyProvider(File keyStoreFile, File keyStorePasswordFile, Map<String,File> aliasPasswordFileMap)
           
 
Method Summary
 Key getKey(String alias)
          Returns a non-null Key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCEFileKeyProvider

public JCEFileKeyProvider(File keyStoreFile,
                          File keyStorePasswordFile,
                          Map<String,File> aliasPasswordFileMap)
Method Detail

getKey

public Key getKey(String alias)
Description copied from class: KeyProvider
Returns a non-null Key

Specified by:
getKey in class KeyProvider


Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.