Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The TDF interface is more complicated than it needs to be #127

Open
mkleene opened this issue Aug 21, 2024 · 0 comments
Open

The TDF interface is more complicated than it needs to be #127

mkleene opened this issue Aug 21, 2024 · 0 comments

Comments

@mkleene
Copy link
Contributor

mkleene commented Aug 21, 2024

Currently the TDF interface requires the client to pass the services that it needs, like this:

var reader = new TDF().loadTDF(in, sdk.getServices().kas());

new TDF().createTDF(in, out, tdfConfig, sdk.getServices().kas());

In the golang SDK operations on TDFs take in the SDK as a parameter so we don't need to pass in the various
services required.

We should refactor the java SDK to work more like that so that users don't have to do deal with details they don't care
about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant