Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
61b660f5
Commit
61b660f5
authored
Sep 06, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standards interoperability table
parent
774fbdc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
2 deletions
+35
-2
README.md
README.md
+33
-0
doc/man/asn1c.man.md
doc/man/asn1c.man.md
+2
-2
No files found.
README.md
View file @
61b660f5
...
...
@@ -14,6 +14,39 @@ The ASN.1 standard is large and complex and no open source compiler supports
it in its entirety. The asn1c is arguably the most evolved open source
ASN.1 compiler.
# ASN.1 Transfer Syntaxes
<details>
<summary>
ASN.1 encodings interoperability table
</summary>
The ASN.1 family of standards define a number of ways to encode data,
including byte-oriented (e.g., BER), bit-oriented (e.g., PER),
and textual (e.g., XER). Some encoding variants (e.g., DER) are just stricter
variants of the more general encodings (e.g., BER).
The interoperability table below specifies which API functions can be used
to exchange data in a compatible manner. If you need to _produce_ data
conforming to the standard specified in the column 1,
use the API function in the column 2.
If you need to _process_ data conforming to the standard(s) specified in the
column 3, use the API function specified in column 4.
See the
`asn1c-usage.pdf`
for details.
Encoding | API function | Understood by | API function
-------------- | ------------------ | ------------- | -------------
BER | der_encode() | BER | ber_decode()
DER | der_encode() | DER, BER | ber_decode()
CER | _not supported_ | CER, BER | ber_decode()
BASIC-OER | oer_encode() |
*
-OER | oer_decode()
CANONICAL-OER | oer_encode() |
*
-OER | oer_decode()
BASIC-UPER | uper_encode() |
*
-UPER | uper_decode()
CANONICAL-UPER | uper_encode() |
*
-UPER | uper_decode()
*-APER | _not supported_ | *
-APER | _not supported_
BASIC-XER | xer_encode(XER_F_BASIC) |
*
-XER | xer_decode()
CANONICAL-XER | xer_encode(XER_F_CANONICAL)|
*
-XER | xer_decode()
*
) Asterisk means both BASIC and CANONICAL variants.
</details>
# Build and Install
If you haven't installed the asn1c yet, read the
[
INSTALL.md
](
INSTALL.md
)
file
...
...
doc/man/asn1c.man.md
View file @
61b660f5
...
...
@@ -171,9 +171,9 @@ CANONICAL-UPER uper_encode() *-UPER uper_decode()
*-APER _not supported_ *
-APER _not supported_
BASIC-XER xer_encode(...)
*
-XER
,
xer_decode()
BASIC-XER xer_encode(...)
*
-XER
xer_decode()
CANONICAL-XER xer_encode
*
-XER
,
xer_decode()
CANONICAL-XER xer_encode
*
-XER
xer_decode()
(XER_F_CANONICAL)
-------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment