duoInitiator
Creates a DuoSession as the initiating party, over the default WebSocket transport. The recommended entry point for most integrations.
Return
a DuoSession ready for MPC operations.
Parameters
your MessageSigner, backed by secure key storage (Android Keystore, Apple Secure Enclave, HSM).
the peer's verifying key, hex-encoded.
the WebSocket endpoint configuration.
where the SDK persists keyshares and reconciliation state.
See also
for implementing the identity key.
for the available operations.
Creates an initiating DuoSession over the default WebSocket transport, reusing a DuoNetworkClient you construct and own — for example to share one client (and its connection pool) across sessions and com.silencelaboratories.silentshard.network.NetworkClient.close it yourself.
Return
a DuoSession ready for MPC operations.
Parameters
your MessageSigner.
the peer's verifying key, hex-encoded.
the WebSocket client to use; you own its lifetime.
where the SDK persists keyshares.
Creates an initiating DuoSession over a custom transport.
Supply your own NetworkClient to route protocol traffic through a different transport, together with a DuoNetworkActionProvider that maps each protocol step onto that transport's actions.
Return
a DuoSession ready for MPC operations.
Parameters
your MessageSigner.
the peer's verifying key, hex-encoded.
where the SDK persists keyshares.
your transport implementation.
maps protocol steps to network actions for networkClient.