… when signing certificates, if available
… not whatever the original certificate presented.
Test option error cases
…ving trusted certificates. Removed Gem::Security::OPT in favor of constants. Refactored and renamed methods in Gem::Security to separate responsibilities. Added Gem::Security::TrustDir.each_certificate
Restore old certificate loading behavior
…ged for backwards compatibility. Optionally pass in key length instead of using the options hash.
…hanged for backwards compatibility
We previously had a @none ivar that was supposed indicate if the requirement had no real requirements. This was an attempt at an optimization that didn't work out normally because it used a lazily assignment which caused it to be recalculated on pretty much every call.