- Source:
Members
(static) objects
    list of otr objects
- Source:
Methods
(static) _createDSA()
    Ending of createDSA().
- Source:
(static) backup(bid)
    Backups otr session
    Parameters:
| Name | Type | Description | 
|---|---|---|
| bid | string | 
- Source:
(static) create(bid) → {undefined}
    Create new otr instance
    Parameters:
| Name | Type | Description | 
|---|---|---|
| bid | type | 
- Source:
Returns:
- Type
- undefined
(static) createDSA() → {unresolved}
    Create or load DSA key
- Source:
Returns:
- Type
- unresolved
(static) DSAready(dsa)
    Ending of DSA key generation.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| dsa | DSA | DSA object | 
- Source:
(static) goEncrypt(bid) → {undefined}
    Send request to encrypt the session
    Parameters:
| Name | Type | Description | 
|---|---|---|
| bid | type | 
- Source:
Returns:
- Type
- undefined
(static) goPlain(bid, cb) → {undefined}
    Abort encryptet session
    Parameters:
| Name | Type | Description | 
|---|---|---|
| bid | type | |
| cb | callback | 
- Source:
Returns:
- Type
- undefined
(static) onSmpQuestion(bid, dataopt) → {undefined}
    show verification dialog with related part (secret or question)
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| bid | type | ||
| data | string | <optional> | 
- Source:
Returns:
- Type
- undefined
(static) receiveMessage(d)
    Handler for otr receive event
    Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| d | Object | Properties
 | 
- Source:
(static) restore(bid)
    Restore old otr session
    Parameters:
| Name | Type | Description | 
|---|---|---|
| bid | string | 
- Source:
(static) sendMessage(jid, msg)
    Handler for otr send event
    Parameters:
| Name | Type | Description | 
|---|---|---|
| jid | string | |
| msg | string | message to be send | 
- Source:
(static) sendSmpReq(bid, sec, questopt) → {undefined}
    Send verification request to buddy
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| bid | string | ||
| sec | string | secret | |
| quest | string | <optional> | question | 
- Source:
Returns:
- Type
- undefined
(static) toggleTransfer(bid) → {undefined}
    Toggle encryption state
    Parameters:
| Name | Type | Description | 
|---|---|---|
| bid | type | 
- Source:
Returns:
- Type
- undefined