Home | Trees | Indices | Help |
---|
|
object --+ | PK11SymKey
Holds a hash, encryption or signing context for multi-part operations.
|
|||
|
|||
|
|||
|
|||
PK11SymKey |
|
||
PK11SymKey |
|
||
SecItem |
|
||
Inherited from |
|
|||
key_data key data |
|||
key_length key length |
|||
mechanism CK_MECHANISM_TYPE mechanism |
|||
slot slot |
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
repr(x)
|
str(x)
|
:Parameters: mechanism : int key mechanism enumeration constant (CKM_*) sec_param : SecItem object or None mechanism parameters or None. target : int key mechanism enumeration constant (CKM_*) operation : int type of operation. A (CKA_*) constant (e.g. CKA_ENCRYPT, CKA_DECRYPT, CKA_SIGN, CKA_VERIFY, CKA_DIGEST) key_size : int key size. Derive a new key from this key. Return a key which can do exactly one operation, it is ephemeral (session key).
|
:Parameters: mechanism : int key mechanism enumeration constant (CKM_*) sec_param : SecItem object or None mechanism parameters or None. wrapped_key : SecItem object the symmetric key to unwrap target : int key mechanism enumeration constant (CKM_*) operation : int type of operation. A (CKA_*) constant (e.g. CKA_ENCRYPT, CKA_DECRYPT, CKA_SIGN, CKA_VERIFY, CKA_DIGEST) key_size : int key size. Unwrap (decrypt) the supplied wrapped key. Return the unwrapped key as a PK11SymKey.
|
:Parameters: mechanism : int key mechanism enumeration constant (CKM_*) sec_param : SecItem object or None mechanism parameters or None. sym_key : PK11SymKey object the symmetric key to wrap Wrap (encrypt) the supplied sym_key using the mechanism and parameter. Return the wrapped key as a SecItem.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Mar 18 14:45:39 2013 | http://epydoc.sourceforge.net |