net.corda.core.crypto / PublicKeyTree / singleKey

singleKey

val singleKey: PublicKey

Returns the enclosed PublicKey for a PublicKeyTree with a single node

Exceptions

IllegalArgumentException - if the PublicKeyTree contains more than one node