List of usage examples for java.security Provider toString
public String toString()
From source file:com.adaptris.security.util.SecurityUtil.java
public static String getAlgorithms() { initialise();//from w w w. j a v a2 s .com StringBuffer sb = new StringBuffer("Security Algorithms available"); for (Provider provider : Security.getProviders()) { sb.append("\nProvider : " + provider.toString() + "\n"); Object[] objs = provider.keySet().toArray(); Arrays.sort(objs); for (Object o : objs) { sb.append(o.toString() + ", "); } } return sb.toString(); }