-
Notifications
You must be signed in to change notification settings - Fork 1
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
BER Tag Helper Function #38
Conversation
04f41fe
to
02fb121
Compare
Signed-off-by: Theis <theismejnertsen@gmail.com>
…er than 1 byte Signed-off-by: Theis <theismejnertsen@gmail.com>
…during encoding if tlv has child tlvs Signed-off-by: Theis <theismejnertsen@gmail.com>
Signed-off-by: Theis <theismejnertsen@gmail.com>
…alue Signed-off-by: Theis <theismejnertsen@gmail.com>
Signed-off-by: Theis <theismejnertsen@gmail.com>
0384588
to
cc3d9e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot :)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
==========================================
- Coverage 36.70% 34.46% -2.25%
==========================================
Files 25 27 +2
Lines 1531 1651 +120
==========================================
+ Hits 562 569 +7
- Misses 896 1022 +126
+ Partials 73 60 -13 ☔ View full report in Codecov by Sentry. |
This PR adds a helper function to create new ANS.1 BER standard tags using the number and class of the tag:
Additionally
Class()
method to support tags longer than 1 byteEncodeBER()
for TLVs with child TLVs