/** * testNoSignedKeys * * @return void */ public function testNoSignedKeys() { $message = new OpenID_Message(); $message->set('openid.assoc_handle', $this->object->assocHandle); $message->set('openid.op_endpoint', 'http://example.com'); $this->assertFalse($this->object->checkMessageSignature($message)); }
/** * Verifies the signature of this message association. * * @param OpenID_Association $assoc Association to use for checking the signature * * @return bool result of OpenID_Association::checkMessageSignature() * @see OpenID_Association::checkMessageSignature() */ public function verifySignature(OpenID_Association $assoc) { return $assoc->checkMessageSignature($this->message); }