Port details |
- pyderasn Strict and fast ASN.1 DER/CER/BER library for Python
- 9.3_1 devel
=2 9.3_1Version of this port present on the latest quarterly branch. - Maintainer: eugen@FreeBSD.org
 - Port Added: 2023-04-05 20:12:24
- Last Update: 2024-04-13 14:47:51
- Commit Hash: 84a372a
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: LGPL3
- WWW:
- http://www.pyderasn.cypherpunks.ru/
- Description:
- PyDERASN -- strict and fast ASN.1 DER/CER/BER library for Python
* BER/CER/DER decoding, strict DER validation, DER/CER 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
* Aimed to be complaint with X.690-201508
* Streaming decoding and encoding capabilities, allowing working with
very small memory footprint
* Python 3.5+ compatibility
* Automatic decoding of DEFINED BY fields
* Ability to know exact decoded objects offset and lengths in the binary
* Ability to allow BER-encoded data with knowing if any of specified
field has either DER or BER encoding (or possibly indefinite-length
encoding)
* Ability to use mmap-ed files, memoryviews, iterators, 2-pass DER
encoding mode and CER encoder dealing with the writer, giving ability
to create huge ASN.1 encoded files with very little memory footprint
* Ability to decode files in event generation mode, without the need to
keep all the data and decoded structures in the memory
* __slots__, copy.copy() friendliness
* Workability with pickle
* Cython compatibility
* Descriptive errors, with decode paths
* Pretty printer and command-line decoder, that could conveniently
replace utilities like either dumpasn1 or openssl asn1parse
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pyderasn>0:devel/pyderasn@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/pyderasn/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/pyderasn
- pkg install py39-pyderasn
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-pyderasn listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pyderasn
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1680289534
SHA256 (pyderasn-9.3.tar.zst) = 6184a040e56a1445bce0631b789a9544a191da363dd9b3bf14f0faf68b7dbceb
SIZE (pyderasn-9.3.tar.zst) = 298196
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-python-dateutil>=2.7 : devel/py-python-dateutil@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- security/cpfx
- security/pygost
Configuration Options:
- No options to configure
- Options name:
- devel_pyderasn
- USES:
- tar:zst python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|