Espkac is a pure-Erlang decoder of SPKAC binary data.
- HTML5
<keygen>
element server-side handler - common conversion of SPKAC to PEM
QueryProps = mochiweb_util:parse_qs (RequestQueryString),
KeyGenData = proplists:get_value (my_keygen_field, QueryProps),
PubKeyPEM = espkac:spkac2pem (base64:decode (KeyGenData))