For OpenPGP we use --locate-key to import keys from a web key directory.
For S/MIME we have no such thing but because we have the hierarchical trust model we can import just any certificate from a configured X509 keyserver and if it is trusted for that address use it automatically.