extractSignedContents() public method

Extract the contents from signed S/MIME data.
public extractSignedContents ( string $data, string $sslpath ) : string
$data string The signed S/MIME data.
$sslpath string The path to the OpenSSL binary.
return string The contents embedded in the signed data.
コード例 #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
ファイル: Smime.php プロジェクト: GenerationLabs/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)
 {
     global $conf;
     $sslpath = empty($conf['openssl']['path']) ? null : $conf['openssl']['path'];
     return $this->_smime->extractSignedContents($data, $sslpath);
 }