Re: Re: Retrieving public key from x and y

Jeffrey Walton <[email protected]> Tue, 21 Sep 2021 08:35:22 -0400
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <CAH8yC8=XGhvfG+R_ZYJ_4xS9frjicj2f1izUKK256S=4z2BJTg@mail.gmail.com>
> How can I "convert" the public key I got from
>
> CryptoPP::ECDSA<CryptoPP::ECP, CryptoPP::SHA256>::PublicKey publicKey;
>     publicKey.Initialize(CryptoPP::ASN1::brainpoolP256r1(), q);
>
> to the needed byte array. What do I have to use as initialisation vector? I'm no pro in crypto-algorithms but I have to use them for a specific project -_-

Sorry, I'm not sure what you need. I'm not familiar with cpp-jwt.

Maybe it would be easier to add Brainpool support to cpp-jwt. Then you
won't need to use other libraries. cpp-jwt will do everything you
need.

cpp-jwt uses OpenSSL for its cryptography. It should be relatively
easy to add the support.

Jeff

-- 
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8%3DXGhvfG%2BR_ZYJ_4xS9frjicj2f1izUKK256S%3D4z2BJTg%40mail.gmail.com.