add support for serialization of EC private keys
6 files changed