package com.l7tech.server.secureconversation;

import com.l7tech.objectmodel.DeleteException;
import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityManager;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;

public interface StoredSecureConversationSessionManager extends EntityManager<StoredSecureConversationSession, EntityHeader> {
   StoredSecureConversationSession findInboundSessionByIdentifier(String var1) throws FindException;

   StoredSecureConversationSession findOutboundSessionByUserAndService(Goid var1, String var2, String var3) throws FindException;

   void deleteInboundSessionByIdentifer(String var1) throws DeleteException;

   void deleteOutboundSessionByUserAndService(Goid var1, String var2, String var3) throws DeleteException;

   void deleteStale(long var1) throws DeleteException;

   void deleteAll() throws DeleteException;

   String encryptSessionKey(byte[] var1);

   byte[] decryptSessionKey(String var1) throws FindException;
}
