예제 #1
0
 /**
  *
  */
 public function testClearWillRemoveValues()
 {
     $this->instance->setPrivateKey('privateKey');
     $this->instance->setStatus('initStatus');
     $this->instance->prepareDecryptAll('user', 'key');
     $this->assertNotEmpty(self::$tempStorage);
     $this->instance->clear();
     $this->assertEmpty(self::$tempStorage);
 }
예제 #2
0
파일: decryptall.php 프로젝트: evanjt/core
 protected function updateSession($user, $privateKey)
 {
     $this->session->prepareDecryptAll($user, $privateKey);
 }