zendesk/samlr — pull request #5 by colonel-sanders (2013-05-25 06:30:13+00:00)
Title: Support responses without embedded certificate info

The `KeyInfo` element within a signature is optional, and some Identity Providers choose to leave it out of a Response. This PR allows such Responses to still be validated through the use of `options[:certificate]`.

The main changes here:
- Renamed the existing `Samlr::Tools::Certificate` class to `Samlr::Tools::CertificateBuilder`, because it does fill a very similar role to the other Builder classes
- Added a new class `Samlr::Certificate`
- Updated the `samlr` command-line tool to accept a --certificate parameter. Note, since this parameter is an `IO` object, the value could be a local file or a URL

Feedback is appreciated!