Created privatekey from SecByteBlock privateKey(ecdh.PrivateKeyLength()); But unable to transfer the SecByteBlock to RSA::PrivateKey or ECDSA<ECP, CryptoPP::SHA256>::Signer.