APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.util

public Class PolicyUtil

extends Object
Class Inheritance
Imports
java.io.*, java.net.*, java.security.*, java.util.Arrays, sun.net.www.ParseUtil

A utility class for getting a KeyStore instance from policy information. In addition, a supporting getInputStream method.

Field Summary

Modifier and TypeField and Description
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static InputStream
public static KeyStore
getKeyStore(URL policyUrl, String keyStoreName, String keyStoreType, String keyStoreProvider, String storePassURL, Debug debug)

this is intended for use by the policy parser to instantiate a KeyStore from the information in the GUI/policy file

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NONEback to summary
private static final String NONE
P11KEYSTOREback to summary
private static final String P11KEYSTORE

Constructor Detail

PolicyUtilback to summary
public PolicyUtil()

Method Detail

getInputStreamback to summary
public static InputStream getInputStream(URL url) throws IOException
getKeyStoreback to summary
public static KeyStore getKeyStore(URL policyUrl, String keyStoreName, String keyStoreType, String keyStoreProvider, String storePassURL, Debug debug) throws KeyStoreException, IOException, NoSuchProviderException, NoSuchAlgorithmException, CertificateException

this is intended for use by the policy parser to instantiate a KeyStore from the information in the GUI/policy file