interface IdentityServiceAn identity service maintains an bidirectional map of Partys to their associated public keys and thus supports lookup of a party given its key. This is obviously very incomplete and does not reflect everything a real identity service would provide.
| partyFromKey |
abstract fun partyFromKey(key: PublicKey): Party? |
| partyFromName |
abstract fun partyFromName(name: String): Party? |
| registerIdentity |
abstract fun registerIdentity(party: Party): Unit |
| InMemoryIdentityService |
class InMemoryIdentityService : SingletonSerializeAsToken, IdentityServiceSimple identity service which caches parties and provides functionality for efficient lookup. |
| MockIdentityService |
class MockIdentityService : IdentityService, SingletonSerializeAsToken |