Skip to content
Erlang SignedPublicKeyAndChallenge decoder
Erlang CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
asn1
doc initial commit Sep 29, 2013
src
.gitignore
Makefile
README.md
concrete.mk
rebar.config.script

README.md

Erlang SignedPublicKeyAndChallenge decoder

Espkac is a pure-Erlang decoder of SPKAC binary data.

Use cases

  • HTML5 <keygen> element server-side handler
  • common conversion of SPKAC to PEM

Usage

HTML5 KeyGen

QueryProps = mochiweb_util:parse_qs (RequestQueryString),
KeyGenData = proplists:get_value (my_keygen_field, QueryProps),
PubKeyPEM = espkac:spkac2pem (base64:decode (KeyGenData))

References

Something went wrong with that request. Please try again.