import java.security.Provider;
import java.security.Security;
import java.util.Enumeration;
public class MainClass {
public static void main(String args[]) throws Exception{
Provider p[] = Security.getProviders();
for (int i = 0; i < p.length; i++) {
System.out.println(p[i]);
for (Enumeration e = p[i].keys(); e.hasMoreElements();)
System.out.println("\t" + e.nextElement());
}
}
}
|