question: @ SuppressWarnings ( "deprecation" ) public final void testGetAlgorithmPropertyLjava_lang_String_java_lang_String ( ) { Provider provider = new MyProvider ( ) ; Map < String , String > m = new HashMap < String , String > ( ) ; m . clear ( ) ; m . put ( "Alg.propName.algName" , "value" ) ; provider . putAll ( m ) ; try { Security . addProvider ( provider ) ; assertNotNull ( Security . getAlgorithmProperty ( "algName" , "propName" ) ) ; assertNull ( Security . getAlgorithmProperty ( "DSA" , null ) ) ; assertNull ( Security . getAlgorithmProperty ( "DSA" , "propName" ) ) ; } finally { Security . removeProvider ( provider . getName ( ) ) ; } }
target:  java.security.Security#getAlgorithmProperty(String algName, String propName)