Package org.apache.hadoop.crypto
Class CryptoUtils
java.lang.Object
org.apache.hadoop.crypto.CryptoUtils
Utility methods for the crypto related features.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetJceProvider(Configuration conf) Get the security provider value specified inCommonConfigurationKeysPublic.HADOOP_SECURITY_CRYPTO_JCE_PROVIDER_KEYfrom the given conf.
-
Method Details
-
getJceProvider
Get the security provider value specified inCommonConfigurationKeysPublic.HADOOP_SECURITY_CRYPTO_JCE_PROVIDER_KEYfrom the given conf.- Parameters:
conf- the configuration- Returns:
- the configured provider, if there is any; otherwise, return an empty string.
-