FileAccess Orion

SMimeEncrypter extends SMime
in package

Tags
author

Sebastiaan Stok s.stok@rollerscapes.net

Table of Contents

$certs  : mixed
$cipher  : mixed
__construct()  : mixed
encrypt()  : Message

Properties

Methods

__construct()

public __construct(string|array<string|int, string> $certificate[, int|null $cipher = null ]) : mixed
Parameters
$certificate : string|array<string|int, string>

The path (or array of paths) of the file(s) containing the X.509 certificate(s)

$cipher : int|null = null

A set of algorithms used to encrypt the message. Must be one of these PHP constants: https://www.php.net/manual/en/openssl.ciphers.php

Return values
mixed

Search results