org.apache.hadoop.crypto.key
Class KeyProvider.Options
java.lang.Object
org.apache.hadoop.crypto.key.KeyProvider.Options
- Enclosing class:
- KeyProvider
public static class KeyProvider.Options
- extends Object
Options when creating key objects.
KeyProvider.Options
public KeyProvider.Options(Configuration conf)
setCipher
public KeyProvider.Options setCipher(String cipher)
setBitLength
public KeyProvider.Options setBitLength(int bitLength)
setDescription
public KeyProvider.Options setDescription(String description)
setAttributes
public KeyProvider.Options setAttributes(Map<String,String> attributes)
getCipher
public String getCipher()
getBitLength
public int getBitLength()
getDescription
public String getDescription()
getAttributes
public Map<String,String> getAttributes()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Apache Software Foundation. All Rights Reserved.