ReadonlyauthThe auth provider for the OpenTDF instance.
Default options for creating TDF objects.
Default options for reading TDF objects.
ReadonlydpopIf DPoP is enabled for this instance.
ReadonlydpopThe DPoP keys for this instance, if any.
ReadonlyplatformThe platform URL
ReadonlypolicyThe policy service endpoint
Readonlytdf3The TDF3 client for encrypting and decrypting ZTDF files.
The main OpenTDF class that provides methods for creating and reading TDF files. It can be used to create new TDF files and read existing ones. This class is the entry point for using the OpenTDF SDK. It requires an authentication provider to be passed in the constructor. It also requires a platform URL to be set, which is used to fetch key access servers and policies.
Example