ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-BER-XS/XS.pm
(Generate patch)

Comparing Convert-BER-XS/XS.pm (file contents):
Revision 1.54 by root, Tue Apr 23 21:03:12 2019 UTC vs.
Revision 1.55 by root, Tue Apr 23 21:20:25 2019 UTC

742This module can only en-/decode 64 bit signed and unsigned integers, and 742This module can only en-/decode 64 bit signed and unsigned integers, and
743only when your perl supports those. So no UUID OIDs for now (unless you 743only when your perl supports those. So no UUID OIDs for now (unless you
744map the C<OBJECT IDENTIFIER> tag to something other than C<BER_TYPE_OID>). 744map the C<OBJECT IDENTIFIER> tag to something other than C<BER_TYPE_OID>).
745 745
746This module does not generally care about ranges, i.e. it will happily 746This module does not generally care about ranges, i.e. it will happily
747de-/encode 64 bit integers into an C<ASN_INTEGER> value, or a negative 747de-/encode 64 bit integers into an C<SNMP_UNSIGNED32> value, or a negative
748number into an C<SNMP_COUNTER64>. 748number into an C<SNMP_COUNTER64>.
749 749
750OBJECT IDENTIFIEERs cannot have unlimited length, although the limit is 750OBJECT IDENTIFIEERs cannot have unlimited length, although the limit is
751much larger than e.g. the one imposed by SNMP or other protocols, and is 751much larger than e.g. the one imposed by SNMP or other protocols, and is
752about 4kB. 752about 4kB.
753 753
754Indefinite length encoding is not supported.
755
756Constructed strings are decoded just fine, but there should be a way to 754Constructed strings are decoded just fine, but there should be a way to
757join them for convenience. 755join them for convenience.
758 756
759REAL values are not supported and will currently croak. 757REAL values are not supported and will currently croak.
760 758
761The encoder and decoder tend to accept more formats than should be
762strictly supported - security sensitive applications are strongly advised
763to review the code first.
764
765This module has undergone little to no testing so far.
766
767=head2 ITHREADS SUPPORT 759=head2 ITHREADS SUPPORT
768 760
769This module is unlikely to work when the (officially discouraged) ithreads 761This module is unlikely to work when the (officially discouraged) ithreads
770are in use. 762are in use.
771 763

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines