code: private WSPKCSInKeyStore insertedAlready(String tokenlib) {
          WSPKCSInKeyStore pKS = null;
          WSPKCSInKeyStore rc = null;
          Enumeration<WSPKCSInKeyStore> e = theV.elements();
  
          while (null == rc && e.hasMoreElements()) {
              pKS = e.nextElement();
  
              if (tokenlib.equalsIgnoreCase(pKS.getlibName_key())) {
                  rc = pKS;
              } else if (tokenlib.equalsIgnoreCase(pKS.getlibName_trust())) {
                  rc = pKS;
              }
          }
  
          return rc;
      }
docs: Lookup the keystore object that may exist in the list for the input token
  library value.
  
  @param tokenlib
  @return WSPKCSInKeyStore - null if not found