net.corda.core.crypto / PublicKeyTree / Leaf

Leaf

class Leaf : PublicKeyTree

The leaf node of the public key tree – a wrapper around a PublicKey primitive



Constructors

<init> Leaf(publicKey: PublicKey)

The leaf node of the public key tree – a wrapper around a PublicKey primitive

Properties

keys val keys: Set<PublicKey>

Returns all PublicKeys contained within the tree leaves

publicKey val publicKey: PublicKey

Inherited Properties

singleKey val singleKey: PublicKey

Returns the enclosed PublicKey for a PublicKeyTree with a single node

Functions

equals fun equals(other: Any?): Boolean
hashCode fun hashCode(): Int
isFulfilledBy fun isFulfilledBy(keys: Iterable<PublicKey>): <ERROR CLASS>

Checks whether keys match a sufficient amount of leaf nodes

toString fun toString(): String

Inherited Functions

containsAny fun containsAny(otherKeys: Iterable<PublicKey>): <ERROR CLASS>

Checks whether any of the given keys matches a leaf on the tree

isFulfilledBy fun isFulfilledBy(key: PublicKey): <ERROR CLASS>
toBase58String fun toBase58String(): String