/** * Merges the system wide accepted issuers and the own ones and * returns them. * * @return: Array of X509 certificates of the accepted issuers. */ publicJava.security.cert.X509Certificate[] getAcceptedIssuers() { X509Certificate[] cf=((X509TrustManager)tm).getAcceptedIssuers(); X509Certificate[] allCfs=cf;
/** * This class implements an interactive dialog. It shows the contents of a * certificate and asks the user if it is trustable or not. */ class AskForTrustability implements ActionListener, ListSelectionListener { private JButton yes=new JButton("Yes"),no=new JButton("No");