PHP 클래스 IMP_Mime_Viewer_Smime, horde

This class handles the following MIME types: application/pkcs7-mime application/x-pkcs7-mime application/pkcs7-signature (in multipart/signed part) application/x-pkcs7-signature (in multipart/signed part) This class may add the following parameters to the URL: 'smime_verify_msg' - (boolean) Do verification of S/MIME message. 'view_smime_key' - (boolean) Display the S/MIME Key.
저자: Mike Cochrane ([email protected])
저자: Michael Slusarz ([email protected])
상속: extends Horde_Mime_Viewer_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_capability array This driver's display capabilities.
$_impsmime IMP_Smime IMP_Smime object.
$_metadata array Metadata for the current viewer/data.

보호된 메소드들

메소드 설명
_getEmbeddedMimeParts ( ) : mixed If this MIME part can contain embedded MIME parts, and those embedded MIME parts exist, return an altered version of the Horde_Mime_Part that contains the embedded MIME part information.
_getPartStream ( $id )
_getSmimeType ( Horde_Mime_Part $part ) : string Determines the S/MIME type of a part. Uses the smime-type content parameter (if it exists), and falls back to ASN.1 parsing of data if it doesn't exist.
_initSmime ( ) Init the S/MIME Horde_Crypt object.
_outputSmimeKey ( ) : string Generates HTML output for the S/MIME key.
_parseEnvelopedData ( ) : mixed Parse enveloped (encrypted) data.
_parseSignedData ( boolean $sig_only = false ) : mixed Parse signed data.
_renderInline ( ) : array Return the rendered inline version of the Horde_Mime_Part object.

메소드 상세

_getEmbeddedMimeParts() 보호된 메소드

If this MIME part can contain embedded MIME parts, and those embedded MIME parts exist, return an altered version of the Horde_Mime_Part that contains the embedded MIME part information.
protected _getEmbeddedMimeParts ( ) : mixed
리턴 mixed A Horde_Mime_Part with the embedded MIME part information or null if no embedded MIME parts exist.

_getPartStream() 보호된 메소드

protected _getPartStream ( $id )

_getSmimeType() 보호된 메소드

Determines the S/MIME type of a part. Uses the smime-type content parameter (if it exists), and falls back to ASN.1 parsing of data if it doesn't exist.
protected _getSmimeType ( Horde_Mime_Part $part ) : string
$part Horde_Mime_Part MIME part with S/MIME data.
리턴 string 'signed-data', 'enveloped-data', or null.

_initSmime() 보호된 메소드

Init the S/MIME Horde_Crypt object.
protected _initSmime ( )

_outputSmimeKey() 보호된 메소드

Generates HTML output for the S/MIME key.
protected _outputSmimeKey ( ) : string
리턴 string The HTML output.

_parseEnvelopedData() 보호된 메소드

Parse enveloped (encrypted) data.
protected _parseEnvelopedData ( ) : mixed
리턴 mixed See self::_getEmbeddedMimeParts().

_parseSignedData() 보호된 메소드

Parse signed data.
protected _parseSignedData ( boolean $sig_only = false ) : mixed
$sig_only boolean Only do signature checking?
리턴 mixed See self::_getEmbeddedMimeParts().

_renderInline() 보호된 메소드

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInline ( ) : array
리턴 array See parent::render().

프로퍼티 상세

$_capability 보호되어 있는 프로퍼티

This driver's display capabilities.
protected array $_capability
리턴 array

$_impsmime 보호되어 있는 프로퍼티

IMP_Smime object.
protected IMP_Smime $_impsmime
리턴 IMP_Smime

$_metadata 보호되어 있는 프로퍼티

Metadata for the current viewer/data.
protected array $_metadata
리턴 array