IdentityService.verifyAndRegisterIdentity - corda

corda / net.corda.core.node.services / IdentityService / verifyAndRegisterIdentity

# verifyAndRegisterIdentity

`abstract fun verifyAndRegisterIdentity(identity: PartyAndCertificate): PartyAndCertificate?`

Verify and then store an identity.

### Parameters

`identity` - a party and the certificate path linking them to the network trust root.

### Exceptions

`IllegalArgumentException` - if the certificate path is invalid.

Return
the issuing entity, if known.