Offline Transaction Signing (OTS) 0.1.0
Loading...
Searching...
No Matches
ots.hpp File Reference

Header for the C++ library. More...

#include "ots-exceptions.hpp"
#include <memory>
#include <string>
#include <vector>
#include <array>
#include <map>
#include <utility>
Include dependency graph for ots.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ots::KeyStoreDeleter
 
struct  ots::PolyseedKeyStoreDeleter
 
struct  ots::AccountDeleter
 
class  ots::SeedLanguage
 Manages seed phrase languages and their properties. More...
 
class  ots::Seed
 Abstract base class for cryptographic seed management. More...
 
class  ots::LegacySeed
 Represents a monero 13-words seed type for backward compatibility. More...
 
class  ots::MoneroSeed
 Represents a Monero 25-words seed. More...
 
class  ots::Polyseed
 Represents a Polyseed type. More...
 
class  ots::Address
 Represents a Monero address. More...
 
class  ots::OTS
 General functionality. More...
 
class  ots::SeedJar
 Storage for the Seed objects, mainly for the purpose of the C ABI. More...
 
class  ots::Wallet
 provides all offline wallet functionality More...
 
class  ots::TxDescription
 detailed information about a transaction, used to check transaction before signing More...
 
class  ots::TxWarning
 Warnings directed to the actual user related to a transaction to be signed, to make it easier to the application developer to help the user make informed decissions. More...
 
class  ots::WipeableString
 String class that wipes its memory on destruction. More...
 
class  ots::SeedIndices
 Secure container for seed word indices. More...
 

Namespaces

namespace  ots
 The library exists complete only in this namespace.
 

Macros

#define DEFAULT_MAX_ACCOUNT_DEPTH   10
 The default maximum account depth, to search for an address in the wallet.
 
#define DEFAULT_MAX_INDEX_DEPTH   100
 The default maximum index depth, to search for an address in an account of the wallet.
 
#define OUTPUT_EXPORT_FILE_MAGIC   "Monero output export\004"
 

Typedefs

using ots::key_handle_t = size_t
 
using ots::seed_handle_t = size_t
 

Enumerations

enum class  ots::Network { ots::MAIN , ots::TEST , ots::STAGE }
 Represents the monero network. More...
 
enum class  ots::AddressType { ots::Standard , ots::SubAddress , ots::Integrated }
 Represents the monero address type. More...
 
enum class  ots::SeedType { ots::Monero , ots::Polyseed }
 Represents the seed type, and is used for the different dictionaries (languages) available. More...
 

Detailed Description

Header for the C++ library.

See also
ots.h for the C ABI

Macro Definition Documentation

◆ DEFAULT_MAX_ACCOUNT_DEPTH

#define DEFAULT_MAX_ACCOUNT_DEPTH   10

The default maximum account depth, to search for an address in the wallet.

◆ DEFAULT_MAX_INDEX_DEPTH

#define DEFAULT_MAX_INDEX_DEPTH   100

The default maximum index depth, to search for an address in an account of the wallet.

◆ OUTPUT_EXPORT_FILE_MAGIC

#define OUTPUT_EXPORT_FILE_MAGIC   "Monero output export\004"