public_key API improvement

Geoff Cant <>
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: <>
-------------- next part --------------

The new tree is available from

Geoff Cant

More information about the erlang-patches mailing list