Open Journal Systems  3.3.0
Symfony\Component\Mime\Crypto\SMimeEncrypter Class Reference
Inheritance diagram for Symfony\Component\Mime\Crypto\SMimeEncrypter:
Symfony\Component\Mime\Crypto\SMime

Public Member Functions

 __construct ($certificate, int $cipher=null)
 
 encrypt (Message $message)
 

Additional Inherited Members

- Protected Member Functions inherited from Symfony\Component\Mime\Crypto\SMime
 convertMessageToSMimePart ($stream, string $type, string $subtype)
 
 getStreamIterator ($stream)
 
 iteratorToFile (iterable $iterator, $stream)
 
 normalizeFilePath (string $path)
 

Detailed Description

Author
Sebastiaan Stok s.sto.nosp@m.k@ro.nosp@m.llers.nosp@m.cape.nosp@m.s.net

Definition at line 20 of file SMimeEncrypter.php.

Constructor & Destructor Documentation

◆ __construct()

Symfony\Component\Mime\Crypto\SMimeEncrypter::__construct (   $certificate,
int  $cipher = null 
)
Parameters
string | string[]$certificateThe path (or array of paths) of the file(s) containing the X.509 certificate(s)
int | null$cipherA set of algorithms used to encrypt the message. Must be one of these PHP constants: https://www.php.net/manual/en/openssl.ciphers.php

Definition at line 29 of file SMimeEncrypter.php.

References Symfony\Component\Mime\Crypto\SMime\normalizeFilePath().

Member Function Documentation

◆ encrypt()


The documentation for this class was generated from the following file: