Package org.apache.storm.utils
Class SecurityUtils
java.lang.Object
org.apache.storm.utils.SecurityUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringCheck if the suffix ends in pkcs12/p12/jks (case insensitive) and return PKCS12 ot JKS.
- 
Constructor Details- 
SecurityUtilspublic SecurityUtils()
 
- 
- 
Method Details- 
inferKeyStoreTypeFromPathCheck if the suffix ends in pkcs12/p12/jks (case insensitive) and return PKCS12 ot JKS. If not, then return null. The path can be url to a resource since only the ending is compared.- Parameters:
- path- to the key resource file - can be embedded resource in a jar file.
- Returns:
- PKCS12 or JKS or null
 
 
-