pub unsafe extern "C" fn aws_pkcs11_lib_new(
    allocator: *mut aws_allocator,
    options: *const aws_pkcs11_lib_options
) -> *mut aws_pkcs11_lib
Expand description

Load and initialize a PKCS#11 library. See aws_pkcs11_lib_options for options.

If successful a valid pointer is returned. You must call aws_pkcs11_lib_release() when you are done with it. If unsuccessful, NULL is returned and an error is set.