I think these this + the following line can be combined, since `trustStoreProvider` isn't used anywhere else.