Returns a service endpoint with a given id, if associated with this DID.
The respective endpoint data or undefined.
The DID data.
Endpoint id (not the full endpoint uri).
Returns a service endpoint with a given id, if associated with this DID.
Returns
The respective endpoint data or undefined.