Namshi\JOSE\Test\OpenSSL\Signer\KeyFormatTest::testFilePathKeyWorksProperly PHP Method

testFilePathKeyWorksProperly() public method

    public function testFilePathKeyWorksProperly()
    {
        $encrypted = $this->signer->sign('aaa', $this->privateKeyFilePath);
        $this->assertInternalType('bool', $this->signer->verify($this->publicKeyFilePath, $encrypted, 'aaa'));
        $this->assertTrue($this->signer->verify($this->publicKeyFilePath, $encrypted, 'aaa'));
    }