PKCS8 keyfile (without encryption) support

Jay True glacjay@REDACTED
Tue Nov 30 07:10:10 CET 2010


OK. As you know, PKCS8 is just a (plain or encrypted) container of the
real content, such as an RSA private key or something else. When a
client call the function public_key:pem_entry_decode/1,2 and get a
PrivateKeyInfo or EncryptedPrivateKeyInfo, it can then call a new
function public_key:pkcs8_decode/1,2 to get the actual content inside.

For encrypted PKCS8 file, it may need more work than what I thought.

Maybe when I finished all this, including test cases and documents,
should I send a new pull request.


More information about the erlang-patches mailing list