public boolean isSupported(int secType) {
    Iterator<Integer> i;

    for (i = enabledSecTypes.iterator(); i.hasNext();)
     if ((Integer)i.next() == secType)
       return true;
    if (secType == secTypeVeNCrypt)
     return true;
    if (secType == secTypeTight)
     return true;

    return false;
  }