corda / / IdentityService / assertOwnership


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

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.


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