mode = (String) mit.next();
for (Iterator cit = CipherFactory.getNames().iterator(); cit.hasNext();)
{
cipher = (String) cit.next();
IBlockCipher ubc = CipherFactory.getInstance(cipher);
for (Iterator cbs = ubc.blockSizes(); cbs.hasNext();)
{
bs = ((Integer) cbs.next()).intValue();
try
{
algorithm = ModeFactory.getInstance(mode, ubc, bs);