TransportSecurity
Transport-security policy for operator-configured endpoints: blockchain RPC nodes, resolver services, and anything else whose URL comes from deployment configuration rather than from an untrusted document.
This is the mirror image of SsrfBlockingDns, and the distinction matters. For URLs discovered inside untrusted input — an entity statement's federation_fetch_endpoint, a did:web host — a private address is the attack, and SsrfBlockingDns refuses it. For an endpoint the operator configured, a private address is the normal case: node software is routinely reached at http://localhost:8332 or across a cluster network, and blocking that would break the documented deployment while preventing nothing.
What is worth refusing there is plaintext to a public host, because the credentials and signed payloads on that connection are readable and rewritable in transit.
Functions
Returns url unchanged when its transport is acceptable, and throws IllegalArgumentException when it is plaintext http:// to a public host.