P11ex.Lib.ModuleHandle (p11ex v0.1.1)

Represents a reference to a dynamically loaded PKCS#11 module.

Summary

Types

The path to the shared PKCS#11 library module file. Must always be a valid string.

NIF reference to the loaded PKCS#11 module.

t()

A struct representing a loaded PKCS#11 module.

Types

path()

@type path() :: String.t()

The path to the shared PKCS#11 library module file. Must always be a valid string.

ref()

@type ref() :: reference()

NIF reference to the loaded PKCS#11 module.

t()

@type t() :: %P11ex.Lib.ModuleHandle{path: path(), ref: ref()}

A struct representing a loaded PKCS#11 module.

Fields:

  • path (String.t()): The file path of the module (always required).
  • ref (reference()): A NIF reference to the loaded module.