Package PyKCS11 :: Class CkClass
[hide private]
[frames] | no frames]

Class CkClass

source code

object --+
         |
        CkClass

Base class for CK_* classes

Instance Methods [hide private]
list
flags2text(self)
parse the self.flags field and create a list of "CKF_*" strings corresponding to bits set in flags
source code
 
to_dict(self)
convert the fields of the object into a dictionnary
source code
 
__str__(self)
text representation of the object
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  flags_dict = dict()
  fields = dict()
  flags = 0
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

flags2text(self)

source code 

parse the self.flags field and create a list of "CKF_*" strings corresponding to bits set in flags

Returns: list
a list of strings

__str__(self)
(Informal representation operator)

source code 

text representation of the object

Overrides: object.__str__