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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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