Update change log and kdocs for Identity Service changes. (#5509)

This commit is contained in:
Roger Willis 2019-09-24 13:08:14 +01:00 committed by GitHub
parent 6666ee1a46
commit 434a0ed274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View File

@ -178,6 +178,11 @@ interface IdentityService {
@Suspendable
fun externalIdForPublicKey(publicKey: PublicKey): UUID?
/**
* This method returns all the [PublicKey]s which have been mapped to the supplied external ID.
*
* @param externalId the external ID to lookup [PublicKey]s for
*/
fun publicKeysForExternalId(externalId: UUID): Iterable<PublicKey>
}

View File

@ -12,9 +12,17 @@ Unreleased
when rethrown on the RPC client.
* Introduced a new parameter ``externalIds: List<UUID>`` to ``VaultQueryCriteria`` which allows CorDapp developers to constrain queries
to a specified set of external IDs.
to a specified set of external IDs. This feature should be used when querying states for a particular "account" (see accounts CorDapp for
further information).
* Introduced a new API on ``KeyManagementService`` which facilitates lookups of ``PublicKey`` s to ``externalId`` s (Account IDs).
* Introduced a new API on ``IdentityService`` called ``RegisterKey`` which maps a ``PublicKey`` to a specified ``CordaX500Name`` and to an
optional ``UUID`` (external Id).
* Introduced a new API on ``IdentityService`` called ``publicKeyToExternalId` which facilitates lookups of ``PublicKey`` s to
``externalId`` s (Account IDs).
* Introduced a new API on ``IdentityService`` called ``publicKeysForExternalId`` which returns all the ``PublicKey`` s associated with a
particular external ID.
* ``StatePointer`` has been marked as ```@DoNotImplement``, which was an omission in the original release.