PyKCS11 samples codes
=====================

Unblock a user PIN
""""""""""""""""""

.. literalinclude:: ../samples/unblock.py

Generate a key pair
"""""""""""""""""""

.. literalinclude:: ../samples/generate.py

Encrypt and decrypt
"""""""""""""""""""

.. literalinclude:: ../samples/encrypt.py

Get token events
""""""""""""""""

.. literalinclude:: ../samples/events.py

Get a public key modulus
""""""""""""""""""""""""

.. literalinclude:: ../samples/modulus.py

RSA sign & verify
"""""""""""""""""

.. literalinclude:: ../samples/signature.py

Get token information
"""""""""""""""""""""

.. literalinclude:: ../samples/getinfo.py

Dump all the token objects
""""""""""""""""""""""""""

.. literalinclude:: ../samples/dumpit.py
