I am attempting to sign a message using the test application that ships with
the Crypto++ library (which uses RSASS to sign a message).  If I use a very
small key to sign a very large file, I get a KeyTooSmall exception.  I know
that in the real world hashes of messages are signed rather than the
messages themselves to alleviate this problem, but for the sake of argument,
is there a way to tell at run time that maximum message size that can be
signed for a given private key?

Thanks in advance for your help!
David Brownell  

Reply via email to