Documentation
¶
Overview ¶
Package devmtls holds the process-wide device mTLS client credential used to reach honey servers behind an mTLS gateway. The private key never lives here: signing is delegated to a registered Signer (on mobile, a callback into the Android Keystore over a gomobile reverse binding), so the key stays in the TEE while Go performs the TLS handshake.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientTLSConfig ¶
ClientTLSConfig builds an mTLS client config from the registered credential. serverCAPEM, when non-empty, overrides the registered CA for trusting the gateway server certificate; empty falls back to the registered CA (else the system roots).
func Registered ¶
func Registered() bool
Registered reports whether a usable device mTLS credential is available.