|
__init__(self)
init data normally we include in the attrs: username, os_release, os,
arch, system_id and fields |
source code
|
|
|
__getitem__(self,
key)
function that make it look like a dictionary for easy access |
source code
|
|
|
__setitem__(self,
name,
value)
function that make it look like a dictionary for easy access updates
the values of the attributes list with new values |
source code
|
|
|
|
|
|
|
|
|
compute_checksum(self,
secret,
algo=' sha256 ' )
Update the checksum |
source code
|
|
|
set_secret(self,
secret)
set the secret of the entry and recompute the checksum |
source code
|
|
|
reload(self,
text)
load data from a text certificate passed on by a client |
source code
|
|
|
__validate_checksum(self,
secret)
compute the current checksum against a secret and check it against
the current checksum |
source code
|
|
|
|