-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add a way to get the byte representation of constructed tags #1
Comments
Hi, You can use BerTlvBuilder for this.
|
OK, but maybe it would make sense to do this transparently, rather than throw when calling getBytes on a constructed tag? |
@martinpaljak |
Some options:
|
May be it would be better to create another method only for a constructed tag: getConstructedBytes()? |
getContentBytes() could be universal for both types, no ? |
Still getting back to this - the main reason for this is to be able to re-show the binary representation of what was parsed in a debug log, which would need to include the length of constructed tags. Would love to use your project in GlobalPlatformPro for this. |
No description provided.
The text was updated successfully, but these errors were encountered: