fun getEndpoint(): AgentEndpoint
Returns the endpoint information from the DidDoc. The service endpoint should not be null.
Return AgentEndpoint holds the endpoint information or AriesFrameworkException if uri is empty