Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.otr
Interface ScOtrKeyManager

All Known Implementing Classes:
ScOtrKeyManagerImpl

public interface ScOtrKeyManager

Author:
George Politis

Method Summary
 void addListener(ScOtrKeyManagerListener l)
           
 void generateKeyPair(AccountID accountID)
           
 String getLocalFingerprint(AccountID account)
           
 String getRemoteFingerprint(Contact contact)
           
 boolean isVerified(Contact contact)
           
 KeyPair loadKeyPair(AccountID accountID)
           
 PublicKey loadPublicKey(Contact contact)
           
 void removeListener(ScOtrKeyManagerListener l)
           
 void savePublicKey(Contact contact, PublicKey pubKey)
           
 void unverify(Contact contact)
           
 void verify(Contact contact)
           
 

Method Detail

addListener

void addListener(ScOtrKeyManagerListener l)

removeListener

void removeListener(ScOtrKeyManagerListener l)

verify

void verify(Contact contact)

unverify

void unverify(Contact contact)

isVerified

boolean isVerified(Contact contact)

getRemoteFingerprint

String getRemoteFingerprint(Contact contact)

getLocalFingerprint

String getLocalFingerprint(AccountID account)

savePublicKey

void savePublicKey(Contact contact,
                   PublicKey pubKey)

loadPublicKey

PublicKey loadPublicKey(Contact contact)

loadKeyPair

KeyPair loadKeyPair(AccountID accountID)

generateKeyPair

void generateKeyPair(AccountID accountID)

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.