assertOwnership

open fun assertOwnership(party: Party, anonymousParty: AnonymousParty)

Asserts that an anonymous party maps to the given full party, by looking up the certificate chain associated with the anonymous party and resolving it back to the given full party.

Throws

if the anonymous party is not owned by the full party.