Require a check during Raw RSA Keyring initialization if two keys are input that they form a matching key pair.
Clarify language around behavior when OnEncrypt/OnDecrypt is called without a public key/private key respectively.
Note: I went with the keyring "MUST" check that they match, instead of it "SHOULD" check that they match. This is a two-way-door, but I don't see a reason to not check.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: resolves #91
Description of changes:
Note: I went with the keyring "MUST" check that they match, instead of it "SHOULD" check that they match. This is a two-way-door, but I don't see a reason to not check.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.