public static String getTrustManagerFactoryAlgorithm ( ) { if ( trustManagerFactoryAlgorithm == null ) { trustManagerFactoryAlgorithm = AccessController . doPrivileged ( new PrivilegedAction < String > ( ) { @ Override public String run ( ) { return Security . getProperty ( "ssl.TrustManagerFactory.algorithm" ) ; } } ) ; } return trustManagerFactoryAlgorithm ; }
Get the trust manager factory algorithm default from Security .