Changeset 165

Show
Ignore:
Timestamp:
10/13/09 11:04:22 (10 months ago)
Author:
lrousseau
Message:

display objects ID as hex in the list of objects found to reflect the
way they are displayed in the object header

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pykcs11/trunk/samples/dumpit.py

    r121 r165  
    121121        objects = session.findObjects() 
    122122        print 
    123         print "Found %d objects: %s" % (len(objects), map(lambda x:x.value(), objects)) 
     123        print "Found %d objects: %s" % (len(objects), map(lambda x: "0x%08X" % x.value(), objects)) 
    124124 
    125125        all_attributes = PyKCS11.CKA.keys() 
(C) 2006 bit4id srl, for informations please contact info@bit4id.com
visitors since August 21, 2006