instance

Returns a named TrustPin instance, creating it on first access.

Instances are kept in a global registry and reused on subsequent calls with the same id. The registry is separate from default.

Return

The TrustPin instance for id

Parameters

id

Unique identifier for this instance (appears in log output). Must not be "default" — use TrustPin.default instead.

Throws