botan.pubkey.algo.keypair

Keypair Checks

Public Imports

botan.pubkey.pk_keys
public import botan.pubkey.pk_keys;
Undocumented in source.
botan.pubkey.pubkey
public import botan.pubkey.pubkey;
Undocumented in source.

Members

Functions

encryptionConsistencyCheck
bool encryptionConsistencyCheck(RandomNumberGenerator rng, PrivateKey key, string padding)

Tests whether the key is consistent for encryption; whether encrypting and then decrypting gives to the original plaintext.

signatureConsistencyCheck
bool signatureConsistencyCheck(RandomNumberGenerator rng, PrivateKey key, string padding)

Tests whether the key is consistent for signatures; whether a signature can be created and then verified

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)