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

SDK function to detect isTDF() and to detect the format #1000

Closed
pflynn-virtru opened this issue Jun 18, 2024 · 2 comments · Fixed by #1188
Closed

SDK function to detect isTDF() and to detect the format #1000

pflynn-virtru opened this issue Jun 18, 2024 · 2 comments · Fixed by #1188
Assignees
Labels
enhancement New feature or request

Comments

@pflynn-virtru
Copy link
Member

As an end-developer, given bytes I want to know is this a TDF and what type of TDF so I can call the appropriate methods for decryption.

@pflynn-virtru
Copy link
Member Author

pflynn-virtru commented Jul 3, 2024

check for the zip header 0x04034b50 and then

  • unzip and then check for a file element called 0.manifest.json
  • or read the ZIP "directory" and check for filename 0.manifest.json

@pflynn-virtru
Copy link
Member Author

for nano check the nanotdf header for magic number L1L

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

Successfully merging a pull request may close this issue.

2 participants