Skip Menu |

This queue is for tickets about the Encoding-BER CPAN distribution.

Report information
The Basics
Id: 83172
Status: new
Priority: 0/
Queue: Encoding-BER

People
Owner: Nobody in particular
Requestors: FELIPE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Provide access to raw binary data from ASN.1 parse
It is often helpful to create a hex representation of a number from an ASN.1 structure. Currently the only way to do this is to load Math::BigInt; this is overkill, though, if I don’t care about the number *as* a number per se (e.g., an RSA modulus) and just want to create its hex representation. It would be great to be able to retrieve numbers, strings, etc. as raw binary data. Doing this with scalar refs would make the memory footprint minimal since it wouldn’t create any new copies. I’ve discussed this with the maintainer via email, but we both “lost” the conversation; I’m creating this RT to foster discussion and perhaps action.