20 ноября 2009 г. 2:25 пользователь Jeffrey Walton <[email protected]>написал:

> Hi Александр,
>
> > publicKey.Initialize(...)
> What is the result of publicKey.Validate(3)?
>
> Next code works:
DefaultAutoSeededRNG rng;
publicKey.ThrowIfInvalid(rng,3);

and I catch an exception with message "CryptoMaterial: this object contains
invalid values".
What can be wrong?
Parameters lengths are: BigP - 64 bytes, BigQ - 20 bytes, BigG - 64 bytes
and public key - 64 bytes

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to