Class PolicyUtil
java.lang.Object
com.sun.ts.lib.util.sec.security.util.PolicyUtil
A utility class for getting a KeyStore instance from policy information. In addition, a supporting getInputStream
 method.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic InputStreamgetInputStream(URL url) static KeyStoregetKeyStore(URL policyUrl, String keyStoreName, String keyStoreType, String keyStoreProvider, String storePassURL, Debug debug) this is intended for use by policytool and the policy parser to instantiate a KeyStore from the information in the GUI/policy file
- 
Constructor Details- 
PolicyUtilpublic PolicyUtil()
 
- 
- 
Method Details- 
getInputStream- Throws:
- IOException
 
- 
getKeyStorepublic static KeyStore getKeyStore(URL policyUrl, String keyStoreName, String keyStoreType, String keyStoreProvider, String storePassURL, Debug debug) throws KeyStoreException, MalformedURLException, IOException, NoSuchProviderException, NoSuchAlgorithmException, CertificateException this is intended for use by policytool and the policy parser to instantiate a KeyStore from the information in the GUI/policy file
 
-