You need to use ASN1::sect163k1(). Note the "()".
On Tue, Nov 05, 2002 at 08:55:43AM +0000, Yusuf Khan wrote:
>
>
>
> Hi all
>
> For the code below i am getting the syntax error:
> "cannot convert parameter 2 from 'class CryptoPP::OID (void)' to 'const
> class CryptoPP::ECParameters<class CryptoPP::ECP> &'"
>
> AutoSeededRandomPool rng;
> ECPrivateKey< ECP > privkey(rng, ASN1::sect163k1); // the error
>
> In eccrypto.h there is a method called
> ECPrivateKey(RandomNumberGenerator &rng, const OID &oid)
>
> I am sure there is something really stupid going on. Can anyone please help.
>
>
> _________________________________________________________________
> Unlimited Internet access -- and 2 months free!? Try MSN.
> http://resourcecenter.msn.com/access/plans/2monthsfree.asp