I read this book in the US, 15-20 years ago, but I believe it dated back to the 70s, based on the general feel.
It was set mostly on a starship. I believe it and other ships had names from Freemasonry, and some of the ranks among the crew were from Masonry, such as 'Deacon' and 'Warden'. This might have applied to the entire organization or empire that the protagonists belonged to.
I don't remember anything of the plot, except that it was conflict-based, like a war or mutiny - not a plot about exploration or discovery.
It's not Revolt in 2100 or anything by Heinlein. I don't believe it was by a well-known author.