Skip to content

Commit b5d7017

Browse files
committed
fixed typos
1 parent 773e236 commit b5d7017

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/messages.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,9 @@ encrypt an message using one or multiple signers.
852852
S/MIME
853853
~~~~~~
854854

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.
856856

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).
858858

859859
The certificate and private key must be PEM encoded, and can be either created using for example OpenSSL or
860860
obtained at an official Certificate Authority (CA).
@@ -863,7 +863,7 @@ obtained at an official Certificate Authority (CA).
863863

864864
**Make sure the certificate supports emailProtection.**
865865

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.
867867

868868
.. code-block:: php
869869
@@ -873,7 +873,7 @@ When using openssl this can done by the including the *-addtrust emailProtection
873873
$smimeSigner->setSignCertificate('/path/to/certificate.pem', '/path/to/private-key.pem');
874874
$message->attachSigner($smimeSigner);
875875
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.
877877

878878
.. code-block:: php
879879
@@ -893,11 +893,11 @@ Storing the message as binary is also possible but not recommended.
893893
$smimeSigner->setSignCertificate('/path/to/certificate.pem', '/path/to/private-key.pem', PKCS7_BINARY);
894894
895895
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.
897897

898898
Encrypting ensures nobody can read the contents of the message without the private key.
899899

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.
901901

902902
Using both signing and encrypting is also possible.
903903

0 commit comments

Comments
 (0)