Exemplo n.º 1
0
 public function test_get_issuer()
 {
     $certificate = new X509Certificate();
     $certificate->loadFromFile(__DIR__ . '/../../../../../resources/sample/Certificate/saml.crt');
     $this->assertEquals(array('C' => 'RS', 'ST' => 'Serbia', 'O' => 'BOS', 'CN' => 'mt.evo.team'), $certificate->getIssuer());
 }