Code updated with recent PKCS11 API new args added accordingly to generically support all mechanisms and types.
Code updated with recent PKCS11 API
new args added accordingly to generically support all mechanisms and types.

Change-Id: Id2a441ec772074df86fc796bd1d33a20344e4ce5

openstack/barbican,openstack/barbican