Add missing copyright header
Release 0.1.1
Use the correct encoder (DER)

Fixes #1
Remove trailing whitespace