1 17 package org.apache.geronimo.management.geronimo; 18 19 import javax.net.ssl.SSLServerSocketFactory; 20 import javax.net.ssl.SSLSocketFactory; 21 22 30 public interface KeystoreManager { 31 34 public KeystoreInstance[] getKeystores(); 35 36 58 public SSLServerSocketFactory createSSLServerFactory(String provider, String protocol, String algorithm, 59 String keyStore, String keyAlias, String trustStore, ClassLoader loader) 60 throws KeystoreException; 61 62 63 85 public SSLSocketFactory createSSLFactory(String provider, String protocol, String algorithm, 86 String keyStore, String keyAlias, String trustStore, ClassLoader loader) 87 throws KeystoreException; 88 89 90 107 public SSLSocketFactory createSSLFactory(String provider, String protocol, String algorithm, 108 String trustStore, ClassLoader loader) 109 throws KeystoreException; 110 111 118 public KeystoreInstance createKeystore(String name, char[] password) throws KeystoreException; 119 120 125 public KeystoreInstance[] getUnlockedKeyStores(); 126 127 132 public KeystoreInstance[] getUnlockedTrustStores(); 133 } 134 | Popular Tags |