Logo Search packages:      
Sourcecode: obnam version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes

obnamlib::clientlist::ClientList Class Reference

Inheritance diagram for obnamlib::clientlist::ClientList:
Inheritance graph
[legend]
Collaboration diagram for obnamlib::clientlist::ClientList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def add_client
def find_client_id
def get_client_id
def get_client_keyid
def hashfunc
def hashkey
def key
def list_clients
def random_id
def remove_client
def set_client_keyid
def unkey

Public Attributes

 fmt
 hash_len
 keep_just_one_tree
 key_bytes
 maxkey
 minkey

Static Public Attributes

int CLIENT_NAME = 0
int KEYID = 1
int SUBKEY_MAX = 255

Detailed Description

Repository's list of clients.

The list maps a client name to an arbitrary (string) identifier,
which is unique within the repository.

The list is implemented as a B-tree, with a three-part key:
128-bit MD5 of client name, 64-bit unique identifier, and subkey
identifier. The value depends on the subkey: it's either the
client's full name, or the public key identifier the client
uses to encrypt their backups.

The client's identifier is a random, unique 64-bit integer.

Definition at line 26 of file clientlist.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index