public interface Session
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Session.OTRv |
SessionStatus getSessionStatus()
SessionID getSessionID()
void injectMessage(AbstractMessage m) throws OtrException
OtrExceptionKeyPair getLocalKeyPair() throws OtrException
OtrExceptionOtrPolicy getSessionPolicy()
String transformReceiving(String content) throws OtrException
OtrExceptionString[] transformSending(String content, List<TLV> tlvs) throws OtrException
OtrExceptionString[] transformSending(String content) throws OtrException
OtrExceptionvoid startSession()
throws OtrException
OtrExceptionvoid endSession()
throws OtrException
OtrExceptionvoid refreshSession()
throws OtrException
OtrExceptionPublicKey getRemotePublicKey()
void addOtrEngineListener(OtrEngineListener l)
void removeOtrEngineListener(OtrEngineListener l)
void initSmp(String question, String secret) throws OtrException
OtrExceptionvoid respondSmp(String question, String secret) throws OtrException
OtrExceptionvoid abortSmp()
throws OtrException
OtrExceptionboolean isSmpInProgress()
BigInteger getS()
Session getOutgoingInstance()
boolean setOutgoingInstance(InstanceTag tag)
InstanceTag getSenderInstanceTag()
InstanceTag getReceiverInstanceTag()
void setReceiverInstanceTag(InstanceTag tag)
void setProtocolVersion(int protocolVersion)
int getProtocolVersion()
void respondSmp(InstanceTag receiverTag, String question, String secret) throws OtrException
OtrExceptionSessionStatus getSessionStatus(InstanceTag tag)
PublicKey getRemotePublicKey(InstanceTag tag)
Copyright © 2015. All rights reserved.