@@ -852,9 +852,9 @@ encrypt an message using one or multiple signers.
852
852
S/MIME
853
853
~~~~~~
854
854
855
- S/MIME can sign and/or encrypt an message using the OpenSSL extension.
855
+ S/MIME can sign and/or encrypt a message using the OpenSSL extension.
856
856
857
- When signing an message, the signer creates an signature of the entire content of the message (including attachments).
857
+ When signing a message, the signer creates a signature of the entire content of the message (including attachments).
858
858
859
859
The certificate and private key must be PEM encoded, and can be either created using for example OpenSSL or
860
860
obtained at an official Certificate Authority (CA).
@@ -863,7 +863,7 @@ obtained at an official Certificate Authority (CA).
863
863
864
864
**Make sure the certificate supports emailProtection. **
865
865
866
- When using openssl this can done by the including the *-addtrust emailProtection * parameter when creating the certificate.
866
+ When using OpenSSL this can done by the including the *-addtrust emailProtection * parameter when creating the certificate.
867
867
868
868
.. code-block :: php
869
869
@@ -873,7 +873,7 @@ When using openssl this can done by the including the *-addtrust emailProtection
873
873
$smimeSigner->setSignCertificate('/path/to/certificate.pem', '/path/to/private-key.pem');
874
874
$message->attachSigner($smimeSigner);
875
875
876
- When the private is secured using an passphrase use to following instead.
876
+ When the private key is secured using a passphrase use the following instead.
877
877
878
878
.. code-block :: php
879
879
@@ -893,11 +893,11 @@ Storing the message as binary is also possible but not recommended.
893
893
$smimeSigner->setSignCertificate('/path/to/certificate.pem', '/path/to/private-key.pem', PKCS7_BINARY);
894
894
895
895
When encrypting the message (also known as enveloping), the entire message (including attachments)
896
- is encrypted using an certificate, and the recipient can then decrypt the message using corresponding private key.
896
+ is encrypted using a certificate, and the recipient can then decrypt the message using corresponding private key.
897
897
898
898
Encrypting ensures nobody can read the contents of the message without the private key.
899
899
900
- Normally the recipient provides an certificate for encrypting and keeping the decryption key private.
900
+ Normally the recipient provides a certificate for encrypting and keeping the decryption key private.
901
901
902
902
Using both signing and encrypting is also possible.
903
903
0 commit comments