public void testOAEPProvider() throws Exception {
  AlgorithmParameters params=AlgorithmParameters.getInstance("OAEP");
  assertEquals("Algorithm","OAEP",params.getAlgorithm());
}

public void testOAEPProvider ( ) throws Exception { AlgorithmParameters params = AlgorithmParameters . getInstance ( "OAEP" ) ; assertEquals ( "Algorithm" , "OAEP" , params . getAlgorithm ( ) ) ; }
tests oaep algorithmparameters provider
