updateMetadata
Updates the mutable TrustMetadata associated with an existing TrustEntry.
Return
A new instance of the TrustEntry containing the updated metadata.
Parameters
entry
The existing entry whose metadata should be updated.
metadata
The new metadata object to apply.
Throws
if the specified entry is not found in the manager.