Hi
there,
might be a stupid
question - but how can i make a PK_Verifier from a known ECC public key
?
------------------------------------------------------------------------------------------
ECIES<ECP>::Encryptor cpub(cpriv);
cpub.AccessKey().AccessGroupParameters().SetEncodeAsOID(true);
cpub.GetKey().DEREncode(bq);
cpub.GetKey().DEREncode(bq);
ECDSA<ECP,
SHA>::Verifier spub(bq);
------------------------------------------------------------------------------------------
The examples
descripe the PK_Verifier constructor to use a ByteQueue which can be made from a
Encryptor/Decryptor. The ByteQueue seems to contain a DER encoded structure. Is
there a more elegant way as to 'wrap' the 2 key parts in a DER structure
manually ? I bet there is ... ;-)
Thanks
Franz
Brandl
---
Ausgehende Mail ist zertifiziert virenfrei.
Überprüft durch AVG Antivirus System (http://www.grisoft.com/de).
Version: 6.0.672 / Virendatenbank: 434 - Erstellungsdatum: 28.04.2004
