Table of Contents

Class: CryptoBoxProps CryptoBox.py

Get and set the properties of a CryptoBox

This class returns the available and allowed devices, which will be used further.

Methods   
__allAvailablePartitions
__csv2list
__deviceIsReallyAllowed
__init__
debugMessage
getConfigValue
getContainerList
setConfigValue
  __allAvailablePartitions 
__allAvailablePartitions ( self )

retrieve a list of all available containers

TODO: if the code is not like a poem, write prosadocumentation ;)

  __csv2list 
__csv2list ( self,  csvstring )

transform a csv preferences string into a list

  __deviceIsReallyAllowed 
__deviceIsReallyAllowed ( self,  device )

return "true" if the given device is white-listed for being used as cryptobox container

  __init__ 
__init__ ( self )

read config and fill class variables

  debugMessage 
debugMessage (
        self,
        level,
        text,
        )

print a debug message to the previously choosen debugging facility

  getConfigValue 
getConfigValue ( self,  key )

return a tuple of key+value from the configfile

  getContainerList 
getContainerList ( self )

return a list of all actual available containers of this cryptobox

  setConfigValue 
setConfigValue (
        self,
        key,
        value,
        )

save the strings key+value in configfile


Table of Contents

This document was automatically generated on Wed Aug 16 13:00:54 2006 by HappyDoc version 2.1