net.corda.core.crypto / WhitelistTrustManagerProvider / addWhitelistEntry

addWhitelistEntry

fun addWhitelistEntry(serverName: String): Unit

Adds an extra name to the whitelist if not already present If this is a new entry it will internally request a DNS lookup which may block the calling thread.