Home | Trees | Indices | Help |
---|
|
object --+ | PK11Slot
An object representing a PKCS #11 Slot
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
length |
|
||
mechanism |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
|
|||
Inherited from |
|
|||
slot_name slot name |
|||
token_name token name |
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
:Parameters: mechanism : int key mechanism enumeration constant (CKM_*) Return the best key length for this slot and mechanism. A zero result means that token knows how long the key should be, the result is typically used with key_gen(), token_key_gen(), or token_key_gen_with_flags()
|
key_gen(mechanism, sec_param, key_size, [user_data1, ...]) -> PK11SymKey object :Parameters: mechanism : int key mechanism enumeration constant (CKM_*) key_param : SecItem object or None SecItem key parameters. None is also valid. key_size : int key length (use get_best_key_length()) user_dataN : object ... zero or more caller supplied parameters which will be passed to the password callback function Generate a symmetric key. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Aug 4 14:56:14 2011 | http://epydoc.sourceforge.net |