chooseIdentityAndCert

fun <Error class: unknown class>.chooseIdentityAndCert(): <Error class: unknown class>

Until we have proper handling of multiple identities per node, for tests we use the first identity as special one. TODO: Should be removed after multiple identities are introduced.