Home | Trees | Indices | Help |
---|
|
object --+ | Session
Manage PyKCS11Lib.openSession objects
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
DigestSession |
|
||
list of bytes |
|
||
list of bytes |
|
||
bool |
|
||
list of bytes |
|
||
list of bytes |
|
||
list of bytes |
|
||
integer |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
|
|||
PyKCS11.LowLevel.CK_OBJECT_HANDLE |
|
||
tuple |
|
||
list |
|
||
list |
|
||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Get the low level lib of the owning PyKCS11Lib
|
C_GetSessionInfo
|
C_Login
|
C_InitPIN
|
C_SetPIN
|
C_CreateObject
|
C_DestroyObject
|
C_DigestInit/C_DigestUpdate/C_DigestKey/C_DigestFinal
|
C_DigestInit/C_Digest
Note: the returned value is an istance of ckbytelist. You can easly convert it to a binary string with: bytes(ckbytelistDigest) or, for Python 2: ''.join(chr(i) for i in ckbytelistDigest) |
C_SignInit/C_Sign
Note: the returned value is an instance of ckbytelist. You can easly convert it to a binary string with: bytes(ckbytelistSignature) or, for Python 2: ''.join(chr(i) for i in ckbytelistSignature) |
C_VerifyInit/C_Verify
|
C_EncryptInit/C_Encrypt
Note: the returned value is an instance of ckbytelist. You can easly convert it to a binary string with: bytes(ckbytelistEncrypted) or, for Python 2: ''.join(chr(i) for i in ckbytelistEncrypted) |
C_DecryptInit/C_Decrypt
Note: the returned value is an instance of ckbytelist. You can easly convert it to a binary string with: bytes(ckbytelistData) or, for Python 2: ''.join(chr(i) for i in ckbytelistData) |
C_WrapKey
Note: the returned value is an instance of ckbytelist. You can easily convert it to a binary string with: bytes(ckbytelistData) or, for Python 2: ''.join(chr(i) for i in ckbytelistData) |
C_UnwrapKey
|
is the type a numerical value?
|
is the type a string value?
|
is the type a boolean value?
|
is the type a byte array value?
|
generate a secret key
|
generate a key pair
|
find the objects matching the template pattern
|
C_GetAttributeValue
See Also: getAttributeValue_fragmented Note: if allAsBinary is True the function do not convert results to Python types (i.e.: CKA_TOKEN to Bool, CKA_CLASS to int, ...). Binary data is returned as ckbytelist type, usable as a list containing only bytes. You can easly convert it to a binary string with: bytes(ckbytelistVariable) or, for Python 2: ''.join(chr(i) for i in ckbytelistVariable) |
Same as getAttributeValue except that when some attribute is sensitive or unknown an empty value (None) is returned. Note: this is achived by getting attributes one by one. See Also: getAttributeValue |
C_SeedRandom
|
C_GenerateRandom
Note: the returned value is an instance of ckbytelist. You can easly convert it to a binary string with: bytes(random) or, for Python 2: ''.join(chr(i) for i in random) |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Aug 18 15:41:50 2017 | http://epydoc.sourceforge.net |