Skip to main content

Module simple_wrapper

Module simple_wrapper 

Source
Expand description

SimpleAgentWrapper — thin FFI adapter over the narrow SimpleAgent contract.

This module contains zero business logic. Every method delegates to jacs::simple::SimpleAgent and marshals the result to FFI-safe types (String in/out, base64 for bytes, JSON for structured data).

Structs§

SimpleAgentWrapper
Thread-safe, Clone-able FFI wrapper around the narrow SimpleAgent contract.

Functions§

sign_message_json
Sign a JSON message — free function for Go FFI.
verify_json
Verify a signed document — free function for Go FFI.