IMP_Basic_Smime
extends IMP_Basic_Base
in package
S/MIME display.
Tags
Table of Contents
Properties
- $header_params : array<string|int, mixed>
- $indices : IMP_Indices_Mailbox
- $output : string
- $title : string
- $vars : Horde_Variables
- $_smime : IMP_Smime
Methods
- __construct() : mixed
- render() : mixed
- status() : mixed
- url() : mixed
- _getImportKey() : string
- Attempt to import a key from form/uploaded data.
- _getSecondaryKey() : string|bool
- Returns the secondary key if uploaded.
- _importKeyDialog() : mixed
- Generates import key dialog.
- _init() : mixed
- _printCertInfo() : mixed
- Print certificate information.
- _reloadWindow() : mixed
- Reload the window.
- _textWindowOutput() : mixed
- Output text in a window.
Properties
$header_params
public
array<string|int, mixed>
$header_params
= array()
$indices
public
IMP_Indices_Mailbox
$indices
$output
public
string
$output
$title
public
string
$title
$vars
public
Horde_Variables
$vars
$_smime
protected
IMP_Smime
$_smime
Methods
__construct()
public
__construct(Horde_Variables $vars) : mixed
Parameters
- $vars : Horde_Variables
render()
public
render() : mixed
status()
public
status() : mixed
url()
public
static url([array<string|int, mixed> $opts = array() ]) : mixed
Parameters
- $opts : array<string|int, mixed> = array()
_getImportKey()
Attempt to import a key from form/uploaded data.
protected
_getImportKey(string $filename[, string $key = null ]) : string
Parameters
- $filename : string
-
Key file name.
- $key : string = null
-
Key string.
Tags
Return values
string —The key contents.
_getSecondaryKey()
Returns the secondary key if uploaded.
protected
_getSecondaryKey() : string|bool
Return values
string|bool —The key contents or false if not uploaded.
_importKeyDialog()
Generates import key dialog.
protected
_importKeyDialog(string $target) : mixed
Parameters
- $target : string
-
Which dialog to generate, either 'personal' or 'public'.
_init()
protected
_init() : mixed
_printCertInfo()
Print certificate information.
protected
_printCertInfo([string $cert = '' ]) : mixed
Parameters
- $cert : string = ''
-
The S/MIME certificate.
_reloadWindow()
Reload the window.
protected
_reloadWindow() : mixed
_textWindowOutput()
Output text in a window.
protected
_textWindowOutput(string $name, string $msg[, bool $html = false ]) : mixed
Parameters
- $name : string
-
The window name.
- $msg : string
-
The text contents.
- $html : bool = false
-
$msg is HTML format?