ANSSI-FR / x509-parser

a RTE-free X.509 parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

x509-parser project

Copyright and license

Copyright (C) 2022

This software is licensed under a dual BSD and GPL v2 license. See LICENSE file at the root folder of the project.

Authors

Contributors

Description

This software implements a X.509 certificate parser, annotated using ACSL annotations for verification with Frama-C (version 18/Argon).

Building

The main Makefile is in the root directory, and compiling is as simple as executing:

	$ make

This will compile different elements in the build directory:

  • the x509-parser.o object file
  • the x509-parser binary, which can be used on a DER certificate (or a concatenation of such elements)

Validating

The main Makefile has targets to run several static analyzers.

Frama-C

To verify the project with Frama-C, use the frama-c target:

	$ make frama-c

Frama-C must have been installed prior to calling that target. Installing Frama-C can be done using OPAM. More details can be found on Frama-C project website. Frama-C may also be available as a common package on your distribution.

IKOS

To verify the project with IKOS, use the ikos target:

	$ make ikos

IKOS must have been installed prior to calling that target. See the installation instructions.

About

a RTE-free X.509 parser

License:Other


Languages

Language:C 98.9%Language:Makefile 1.1%