package pkcs11-driver

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val set_access_error : Pkcs11_CK_ATTRIBUTE.t -> unit

Functions to populate a CK_ATTRIBUTE.t in the way of getAttributeValue. Populate the given t with the given value.

  • if value is none, then ulValueLen will be -1.
  • if value exist but buffer is too small, ulValueLen will be value size and result will be Buffer_too_small.
  • if value exist but pValue is null_ptr, ulValueLen will be value size.
  • if value exist and the buffer can be used, value will be set in pValue and ulValueLen will be value size.
OCaml

Innovation. Community. Security.