corda / net.corda.core.crypto / java.security.PublicKey / keys

keys

val PublicKey.keys: Set<PublicKey>

Return a Set of the contained leaf keys if this is a CompositeKey. Otherwise, return a Set with a single element (this PublicKey). Note that leaf keys cannot be of type CompositeKey.