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.
Author: Mike Cochrane (mike@graftonhall.co.nz)
Author: Michael Slusarz (slusarz@horde.org)
Inheritance: extends Horde_Crypt
Beispiel #1
0
 /**
  * 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);
 }
Beispiel #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);
 }