net.corda.core.crypto / PublicKeyTree / Builder / addKey

addKey

fun addKey(publicKey: PublicKeyTree, weight: Int = 1): Builder

Adds a child PublicKeyTree node. Specifying a weight for the child is optional and will default to 1.