P11_driverSourceHigh-level PKCS#11 bindings.
val get_mechanism_info :
t ->
slot:P11.Slot_id.t ->
P11.Mechanism_type.t ->
P11.Mechanism_info.tval copy_object :
t ->
P11.Session_handle.t ->
P11.Object_handle.t ->
P11.Template.t ->
P11.Object_handle.tval get_attribute_value :
t ->
P11.Session_handle.t ->
P11.Object_handle.t ->
P11.Attribute_types.t ->
P11.Template.tval get_attribute_value' :
t ->
P11.Session_handle.t ->
P11.Object_handle.t ->
P11.Attribute_types.t ->
P11.Template.tval get_attribute_value_optimized :
t ->
P11.Attribute_types.t ->
[ `Optimized of P11.Session_handle.t -> P11.Object_handle.t -> P11.Template.t ]val set_attribute_value :
t ->
P11.Session_handle.t ->
P11.Object_handle.t ->
P11.Template.t ->
unitval find_objects :
t ->
?max_size:int ->
P11.Session_handle.t ->
P11.Template.t ->
P11.Object_handle.t listval encrypt :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t ->
P11.Data.tval multipart_encrypt_init :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
unitval multipart_encrypt :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t list ->
P11.Data.tval decrypt :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t ->
P11.Data.tval multipart_decrypt_init :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
unitval multipart_decrypt :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t list ->
P11.Data.tval sign :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t ->
P11.Data.tval sign_recover :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t ->
P11.Data.tval multipart_sign_init :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
unitval multipart_sign :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t list ->
P11.Data.tval verify :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
data:P11.Data.t ->
signature:P11.Data.t ->
unitval verify_recover :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
signature:P11.Data.t ->
P11.Data.tval multipart_verify_init :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
unitval multipart_verify :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t list ->
P11.Data.t ->
unitval generate_key :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Template.t ->
P11.Object_handle.tval generate_key_pair :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Template.t ->
P11.Template.t ->
P11.Object_handle.t * P11.Object_handle.tval wrap_key :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Object_handle.t ->
P11.Data.tval unwrap_key :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Data.t ->
P11.Template.t ->
P11.Object_handle.tval derive_key :
t ->
P11.Session_handle.t ->
P11.Mechanism.t ->
P11.Object_handle.t ->
P11.Template.t ->
P11.Object_handle.tval load_driver :
?log_calls:(string * Format.formatter) ->
?on_unknown:(string -> unit) ->
?load_mode:P11.Load_mode.t ->
string ->
tMay raise Pkcs11.Cannot_load_module. on_unknown will be called with a warning message when unsupported codes are encountered.