ConstOptionaltimeoutMs: numberWhether a validated configuration is currently loaded.
Subscribes to native TrustPin log messages (already filtered by the configured log level). Buffered early messages replay to the first subscriber.
Subscribes to definitive validation verdicts. Events buffered from before JS was alive are replayed to the first subscriber. Throws TrustPinError(INVALID_PROJECT_CONFIG) if the native module is missing.
Sets native log verbosity. Full startup coverage requires the native init helper's log-level parameter; this call adjusts verbosity at runtime.
Manually validates the TLS certificate of host:port against the pinning
configuration (validated natively; certificate material stays native).
Resolves on success; rejects with a stable code otherwise.
OptionaltimeoutMs: number
Fail-closed readiness gate: resolves once the signed pinning configuration has been fetched, verified, and activated.
timeoutMsundefined → native default (the native SDK clamps to its supported range, currently 10–120s). Rejects withFETCH_CERTIFICATE_TIMEOUTwhen the bound is exceeded.