net.corda.core.crypto / WhitelistTrustManagerProvider / addWhitelistEntries

addWhitelistEntries

fun addWhitelistEntries(serverNames: List<String>): Unit

Adds a list of servers to the whitelist and also adds their fully resolved name/ip address after DNS lookup If the server name is not an actual DNS name this is silently ignored. The DNS request may block the calling thread.