public_key API improvement

Geoff Cant geoff.cant@REDACTED
Thu Aug 20 15:49:25 CEST 2009


Hi all, I've just been investigating the new public_key suite for use in
one of our projects. It looks very useful, but I have a possible API
improvement to share:

public_key:pem_to_der/1,2 require that the PEM data come from a file on
disk. I'd like to be able to operate on PEM data from non-file sources,
so I've extended the API to accept a binary full of PEM data as well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pubkey_api_improvement.diff
Type: text/x-patch
Size: 3310 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20090820/5b26154b/attachment.bin>
-------------- next part --------------

The new tree is available from
http://github.com/mfoemmel/erlang-otp/commits/pubkey_api_improvement

Cheers,
-- 
Geoff Cant


More information about the erlang-patches mailing list