group Public Keys By Well Known Party
fun groupPublicKeysByWellKnownParty(serviceHub: ServiceHub, publicKeys: Collection<PublicKey>, ignoreUnrecognisedParties: Boolean): Map<Party, List<PublicKey>>
Group each PublicKey by the well known party using the ServiceHub.identityService, in preparation for creating FlowSessions, for example.
Return
Parameters
public Keys
the PublicKeys to group.
fun groupPublicKeysByWellKnownParty(serviceHub: ServiceHub, publicKeys: Collection<PublicKey>): Map<Party, List<PublicKey>>
Group each PublicKey by the well known party using the ServiceHub.identityService, in preparation for creating FlowSessions, for example. Throw an exception if some of the PublicKeys cannot be mapped to a Party.
Return
Parameters
public Keys
the PublicKeys to group.