code: public static void main( final String[] args )
      {
          // Security.addProvider( new BouncyCastleProvider() );
  
          String[] serviceTypes = getServiceTypes();
          if ( serviceTypes != null )
          {
              for ( int i = 0; i < serviceTypes.length; i++ )
              {
                  String serviceType = serviceTypes[i];
                  String[] serviceProviders = getCryptoImpls( serviceType );
                  if ( serviceProviders != null )
                  {
                      System.out.println( serviceType + ": provider list" );
                      for ( int j = 0; j < serviceProviders.length; j++ )
                      {
                          String provider = serviceProviders[j];
                          System.out.println( "        " + provider );
                      }
                  }
                  else
                  {
                      System.out.println( serviceType + ": does not have any providers in this environment" );
                  }
              }
          }
      }
docs: ---------------------------------------------------------------