예제 #1
0
파일: SslTest.php 프로젝트: enyo/rincewind
 public function testIvGetsCalculatedAutomaticallyButCanBeSet()
 {
     self::assertSame(16, $this->ssl->getCipherIvLength());
     $ssl = new Ssl('AES-128-CFB8', '*%=XC=Hj!bUXKQP;;8y', '`/:p@:f8;', 4, false, 5, 9);
     self::assertSame(9, $ssl->getCipherIvLength());
 }
예제 #2
0
 public function addSsl($domain)
 {
     $ssl = new Ssl($this);
     return $ssl->setDomain($domain);
 }