Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Mike Cochrane (mike@graftonhall.co.nz)
저자: Michael Slusarz (slusarz@horde.org)
상속: extends Horde_Crypt
예제 #1
0
파일: Smime.php 프로젝트: jubinpatel/horde
 /**
  * Extract the contents from signed S/MIME data.
  *
  * @param string $data  The signed S/MIME data.
  *
  * @return string  The contents embedded in the signed data.
  * @throws Horde_Crypt_Exception
  */
 public function extractSignedContents($data, $sslpath = null)
 {
     $sslpath = empty($GLOBALS['conf']['openssl']['path']) ? null : $GLOBALS['conf']['openssl']['path'];
     return parent::extractSignedContents($data, $sslpath);
 }
예제 #2
0
 /**
  * Extract the contents of a PEM format certificate to an array.
  *
  * @param string $cert  PEM format certificate.
  *
  * @return array  All extractable information about the certificate.
  */
 public function parseCert($cert)
 {
     return $this->_smime->parseCert($cert);
 }