Class: OpenID::Server::SigningEncoder

Class | OpenID::Server::SigningEncoder
In: | lib/openid/server.rb
Parent: | Encoder

I encode responses in to WebResponses, signing them when required.

### Methods

encode new

### Attributes

signatory | [RW] |

### Public Class methods

new(signatory)

Create a SigningEncoder given a Signatory

### Public Instance methods

encode(response)

Encode a response to a WebResponse, signing it first if appropriate.

Raises EncodingError when I can‘t figure out how to encode this message.

Raises AlreadySigned when this response is already signed.

[Validate]