pkcs1: Support building of KEY_ANY private keys
authorTobias Brunner <tobias@strongswan.org>
Wed, 31 Aug 2016 15:34:00 +0000 (17:34 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 5 Oct 2016 09:32:52 +0000 (11:32 +0200)
commit437610ace528ec8f51c356bdca49cb5dc71f88ba
tree756b865f2af9d73c43725059b751234c394ce21d
parent1798e490da2a054002e360c2667beb04f2ab5c53
pkcs1: Support building of KEY_ANY private keys

We try to detect the type of key by parsing the basic structure of the
passed ASN.1 blob.
src/libstrongswan/plugins/pkcs1/pkcs1_builder.c
src/libstrongswan/plugins/pkcs1/pkcs1_plugin.c