extractSignedContents() 공개 메소드

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.
리턴 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
 /**
  * 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);
 }