Page
Library
Module
Module type
Parameter
Class
Class type
Source
Otr.StateSourceStates and types
type ret = [ | `Warning of string| `Received_error of string| `Received of string| `Established_encrypted_session of string| `Received_encrypted of string| `SMP_awaiting_secret| `SMP_received_question of string| `SMP_success| `SMP_failure ]Return values of functions in the Engine module.
OTR policies, as defined in the protocol.
policy_to_string policy is string, the string representation of the given policy.
string_to_policy string is policy, the policy matching the string (None if none matches).
OTR protocol versions supported by this library
version_to_string version is string, the string representation of the version.
string_to_version string is version, the version matching the string (None if none matches).
OTR configuration consisting of a set of policies and versions.
config versions policies is config, the configuration with the given versions and policies.
An abstract OTR session
session_to_string session is string, the string representation of the session.
version session is version, the current active protocol version of this session.
their_dsa session is dsa, the public DSA key used by the communication partner (if the session is established).
new_session configuration dsa () is session, a fresh session given the configuration and dsa private key.