Tests whether the key is consistent for encryption; whether encrypting and then decrypting gives to the original plaintext.
Tests whether the key is consistent for signatures; whether a signature can be created and then verified
Botan is released under the Simplified BSD License (see LICENSE.md)
(C) 1999-2010 Jack Lloyd (C) 2014-2015 Etienne Cimon
Keypair Checks