corda / net.corda.testing.core / singleIdentityAndCert

singleIdentityAndCert

fun NodeInfo.singleIdentityAndCert(): PartyAndCertificate

Extract a single identity from the node info. Throws an error if the node has multiple identities.