I've tried to make this as compatible as possible with the legacy behavior while still handling the case stripping out text before/after the PEM string.
All existing test cases behave as before (* see comment below--there's one case that needed a minor alteration as the case itself was written incorrectly.)
Fixes https://github.com/SAML-Toolkits/ruby-saml/issues/636
I've tried to make this as compatible as possible with the legacy behavior while still handling the case stripping out text before/after the PEM string.
All existing test cases behave as before (* see comment below--there's one case that needed a minor alteration as the case itself was written incorrectly.)