Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qwebaby3
asn1c
Commits
6ffb0141
Commit
6ffb0141
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
build on Win32
parent
039a09e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FAQ
+14
-4
14 additions, 4 deletions
FAQ
with
14 additions
and
4 deletions
FAQ
+
14
−
4
View file @
6ffb0141
Q: How to build a simplest BER (XER) encoder or decoder?
1.Q: Is it possible to build the asn1c compiler on Win32?
A:
1.A:
At this point, the asn1c source code is tied to GCC-specific
extensions in several key places. The CYGWIN environment with
gcc compiler may be what are you looking for.
Please also consider using the Online ASN.1 compiler at
http://lionet.info/asn1c
which generates platform-independent code.
2.Q: How to build a simplest BER (XER) encoder or decoder?
2.A:
Please see "Examples" section of ./doc/asn1c-usage.pdf
Please see "Examples" section of ./doc/asn1c-usage.pdf
Also, try the following to build the X.509v3 parser:
Also, try the following to build the X.509v3 parser:
...
@@ -11,8 +21,8 @@ A:
...
@@ -11,8 +21,8 @@ A:
./x509dump -h
./x509dump -h
Q: Your compiler supplies a der_encode() procedure. How do I encode BER?
3.
Q: Your compiler supplies a der_encode() procedure. How do I encode BER?
A:
3.
A:
The DER (and CER) are stricter subsets of a more generic BER encoding
The DER (and CER) are stricter subsets of a more generic BER encoding
method. If you encode data with DER or CER, all BER-conformant decoders
method. If you encode data with DER or CER, all BER-conformant decoders
will easily understand that. Hence, to encode data in the BER format,
will easily understand that. Hence, to encode data in the BER format,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment