Skip to main content

Python ASN.1 DER/BER codec with abstract structures

Project description

PyDERASN – ASN.1 DER/BER library for Python

I’m going to build my own ASN.1 library with slots and blobs! (C) PyDERASN’s author
  • BER/CER/DER decoding, DER encoding
  • Basic ASN.1 data types (X.208): BOOLEAN, INTEGER, BIT STRING, OCTET STRING, NULL, OBJECT IDENTIFIER, ENUMERATED, all strings, UTCTime, GeneralizedTime, CHOICE, ANY, SEQUENCE (OF), SET (OF)
  • Size constraints checking
  • Working with sequences as high level data objects with ability to (un)marshall them
  • Python 2.7/3.5 compatibility
  • Automatic decoding of DEFINED BY fields
  • Ability to know exact decoded objects offset and lengths in the binary
  • Pretty printer and command-line decoder, that could conveniently replace utilities like either dumpasn1 or openssl asn1parse
  • __slots__ friendliness

pyderasn is free software: see the file COPYING.LESSER for copying conditions.

PyDERASN home page is: http://pyderasn.cypherpunks.ru/

Please send questions, bug reports and patches to https://lists.cypherpunks.ru/mailman/listinfo/pyderasn-devel mailing list. Announcements also go to this mailing list.

Development Git source code repository currently is located here: https://git.cypherpunks.ru/cgit.cgi/pyderasn.git/

Project details


Release history Release notifications

This version
History Node

3.11

History Node

3.10

History Node

3.9

History Node

3.8

History Node

3.7

History Node

3.6

History Node

3.5

History Node

3.4

History Node

3.3

History Node

3.2

History Node

3.1

History Node

3.0

History Node

2.1

History Node

2.0

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyderasn-3.11.tar.gz (86.7 kB) Copy SHA256 hash SHA256 Source None Jul 21, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page