Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)

src/p/y/PyKCS11-1.2.4/samples/unblock.py   pykcs11(Download)
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
import PyKCS11
 
pin = "1234"

src/p/y/PyKCS11-1.2.4/samples/getinfo.py   pykcs11(Download)
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
import PyKCS11
import platform
import sys

src/p/y/PyKCS11-1.2.4/samples/dumpit.py   pykcs11(Download)
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
import PyKCS11
import getopt
import sys

src/p/y/pyXMLSecurity-0.13/src/xmlsec/pk11.py   pyXMLSecurity(Download)
 
try:
    import PyKCS11
    from PyKCS11.LowLevel import CKA_ID, CKA_LABEL, CKA_CLASS, CKO_PRIVATE_KEY, CKO_CERTIFICATE, CKK_RSA, CKA_KEY_TYPE, CKA_VALUE
except ImportError:

src/b/a/barbican-HEAD/barbican/crypto/p11_crypto.py   barbican(Download)
try:
    import PyKCS11
except ImportError:
    PyKCS11 = {}  # TODO: remove testing workaround