corda / net.corda.core.crypto / AnonymousParty / <init>

# <init>

`AnonymousParty(owningKey: PublicKey)`

A helper constructor that converts the given PublicKey in to a CompositeKey with a single node

`AnonymousParty(owningKey: CompositeKey)`

The AnonymousParty class contains enough information to uniquely identify a Party while excluding private information such as name. It is intended to represent a party on the distributed ledger.