1 7 8 15 16 package javax.net.ssl; 17 18 import java.security.KeyManagementException; 19 import java.security.PrivateKey; 20 import java.security.Principal; 21 import java.security.cert.X509Certificate; 22 import java.net.Socket; 23 24 45 public interface X509KeyManager extends KeyManager 46 { 47 48 59 public String[] getClientAliases(String keyType, Principal[] issuers); 60 61 77 public String chooseClientAlias(String[] keyType, Principal[] issuers, 78 Socket socket); 79 80 91 public String[] getServerAliases(String keyType, Principal[] issuers); 92 93 108 public String chooseServerAlias(String keyType, Principal[] issuers, Socket 109 socket); 110 111 119 public X509Certificate[] getCertificateChain(String alias); 120 121 127 public PrivateKey getPrivateKey(String alias); 128 } 129 | Popular Tags |