X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pyderasn.py;h=bc2911b5f9b185c9725d998aae44d54f4cabe819;hb=22b1dcbe470181ef497ef47e90da790c931fee08;hp=7ca25aab5779972c785a10c46bb4da9df8933ed1;hpb=44741873733949a977e18c0ae475fee04fa6e643;p=pyderasn.git diff --git a/pyderasn.py b/pyderasn.py index 7ca25aa..bc2911b 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -17,9 +17,9 @@ # # You should have received a copy of the GNU Lesser General Public # License along with this program. If not, see . -"""Python ASN.1 DER/BER codec with abstract structures +"""Python ASN.1 DER/CER/BER codec with abstract structures -This library allows you to marshal various structures in ASN.1 DER +This library allows you to marshal various structures in ASN.1 DER/CER format, unmarshal BER/CER/DER ones. >>> i = Integer(123) @@ -770,7 +770,7 @@ forcefully encoded in DER during CER encoding, by specifying class SignedAttributes(SetOf): schema = Attribute() - bounds = (1, 32) + bounds = (1, float("+inf")) der_forced = True .. _agg_octet_string: