/** * 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); }
/** * 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) { global $conf; $sslpath = empty($conf['openssl']['path']) ? null : $conf['openssl']['path']; return $this->_smime->extractSignedContents($data, $sslpath); }