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
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
oai
asn1c
Commits
46edf961
Commit
46edf961
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
restructuring
parent
2c864ab0
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
+12
-23
12 additions, 23 deletions
FAQ
with
12 additions
and
23 deletions
FAQ
+
12
−
23
View file @
46edf961
Q: How to build a simplest BER (XER) encoder or decoder?
A:
Please see "Examples" section of ./doc/asn1c-usage.pdf
Also, try the following to build the X.509v3 parser:
cd ./examples/sample.source.PKIX1
make
./x509dump -h
Q: Your compiler supplies a der_encode() procedure. How do I encode BER?
A:
The DER (and CER) are stricter subsets of a more generic BER encoding
...
...
@@ -13,29 +25,6 @@ A:
Distinguished Encoding Rules (DER)"
Q: I've tried doing ./asn1c/asn1c -P examples/*PKIX*93*, but compiler spits
several fatal failures and exits.
A:
The old (RFC2459) PKIX1 specifications used ASN.1 Information Object
Classes, which is arguably one of the most complex ASN.1 concepts.
The asn1c parser and fixer subsystems currently understand most of
IOC syntax, but the compiler can cope with only the very basic
IOC semantics.
The goal of asn1c is to adequately support the practically necessary
subset of IOCs to compile PKIX1 and other real-world specs,
but this milestone isn't yet reached. Please contact me in case
you have special requirements, we can work it out.
However, the asn1c compiler is able to understand the newer PKIX1
ASN.1 specs, contained in RFC3280, which obsoletes RFC2459.
To compile the sample X.509 certificate dump utility, try this out:
cd ./examples/sample.source.PKIX1
make
./x509dump -h
--
Lev Walkin
...
...
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