DER encoding: implement PublicKey::toDer().
DER encoding: implement Certificate::encode.