1 11 12 package org.jivesoftware.messenger.net; 13 14 import com.sun.net.ssl.X509KeyManager; 15 import java.net.Socket ; 16 import java.security.Principal ; 17 import java.security.PrivateKey ; 18 import java.security.cert.X509Certificate ; 19 20 31 public class SSLJiveKeyManager implements X509KeyManager { 32 public String [] getClientAliases(String s, Principal [] principals) { 33 return new String [0]; 34 } 35 36 public String chooseClientAlias(String s, Principal [] principals) { 37 return null; 38 } 39 40 public String chooseClientAlias(String [] strings, Principal [] principals, Socket socket) { 41 return null; 42 } 43 44 public String [] getServerAliases(String s, Principal [] principals) { 45 return new String [0]; 46 } 47 48 public String chooseServerAlias(String s, Principal [] principals) { 49 return null; 50 } 51 52 public String chooseServerAlias(String s, Principal [] principals, Socket socket) { 53 return null; 54 } 55 56 public X509Certificate [] getCertificateChain(String s) { 57 return new X509Certificate [0]; 58 } 59 60 public PrivateKey getPrivateKey(String s) { 61 return null; 62 } 63 } 64 | Popular Tags |