Class Mongo::Error::InvalidSignature
In: lib/mongo/error/invalid_signature.rb
Parent: Error

This exception is raised when the server verifier does not match the expected signature on the client.

@since 2.0.0

Methods

new  

Attributes

server_signature  [R]  @return [ String ] server_signature The expected server signature.
verifier  [R]  @return [ String ] verifier The server verifier string.

Public Class methods

Create the new exception.

@example Create the new exception.

  InvalidSignature.new(verifier, server_signature)

@param [ String ] verifier The verifier returned from the server. @param [ String ] server_signature The expected value from the

  server.

@since 2.0.0

[Validate]