@@ -255,7 +255,7 @@ Generated bundle file: `envelopedDataORI.der`
255255
256256This example creates a PKCS #7 /CMS EnvelopedData bundle that includes a ORI
257257RecipientInfo type. It uses AES256-CBC as the encryption algorithm, and
258- specifies the enveloped content type as DATA. ORI is losely defined by the CMS
258+ specifies the enveloped content type as DATA. ORI is loosely defined by the CMS
259259RFC and allows users to specify their own encoding/decoding algorithm for
260260the RecipientInfo. This example uses a simple bitwise complement operation
261261for the encryption operation. This is not recommended to be used in production
@@ -391,7 +391,7 @@ Example file: `signedData.c`
391391Generated bundle files: ` signedData_noattrs.der ` , ` signedData_attrs.der `
392392
393393This example creates two PKCS #7 /CMS SignedData bundles, one with attributes and
394- one without them. It uses RSA with SHA256 as the the signature algorithm, and
394+ one without them. It uses RSA with SHA256 as the signature algorithm, and
395395specifies the signed content type as DATA. After creating the bundle, it
396396decodes the bundle and verifies the operation was successful.
397397
@@ -416,7 +416,7 @@ Generated bundle files: `signedFirmwarePkgData_noattrs.der`,
416416 ` signedFirmwarePkgData_attrs.der `
417417
418418This example creates two PKCS #7 /CMS SignedData bundles, one with attributes and
419- one without them. It uses RSA with SHA256 as the the signature algorithm,
419+ one without them. It uses RSA with SHA256 as the signature algorithm,
420420and specifies the signed content type as FirmwarePkgData. After creating the
421421bundle, it decodes the bundle and verifies the operation was successful.
422422
@@ -441,7 +441,7 @@ Generated bundle files: `signedEncryptedFirmwarePkgData_noattrs.der`,
441441 ` signedEncryptedFirmwarePkgData_attrs.der `
442442
443443This example creates two PKCS #7 /CMS SignedData bundles, one with attributes and
444- one without them. It uses RSA with SHA256 as the the signature algorithm,
444+ one without them. It uses RSA with SHA256 as the signature algorithm,
445445and specifies the signed content type as EncryptedData. The inner EncryptedData
446446content type encapsulates a FirmwarePkgData type. After creating the
447447bundles, the app decodes them and verifies the operation was successful.
@@ -467,7 +467,7 @@ Generated bundle files: `signedCompressedFirmwarePkgData_noattrs.der`,
467467 ` signedCompressedFirmwarePkgData_attrs.der `
468468
469469This example creates two PKCS #7 /CMS SignedData bundles, one with attributes and
470- one without them. It uses RSA with SHA256 as the the signature algorithm,
470+ one without them. It uses RSA with SHA256 as the signature algorithm,
471471and specifies the signed content type as CompressedData. The inner
472472CompressedData content type encapsulates a FirmwarePkgData type. After creating
473473the bundles, the app decodes them and verifies the operation was successful.
@@ -573,7 +573,7 @@ Generated bundle files: `signedEncryptedCompressedFirmwarePkgData_noattrs.der`,
573573 ` signedEncryptedCompressedFirmwarePkgData_attrs.der `
574574
575575This example creates two PKCS #7 /CMS SignedData bundles, one with attributes and
576- one without them. It uses RSA with SHA256 as the the signature algorithm,
576+ one without them. It uses RSA with SHA256 as the signature algorithm,
577577and specifies the signed content type as CompressedData. The inner
578578CompressedData content type encapsulates an EncryptedData type, which in turn
579579encapsulates a FirmwarePkgData type. After creating the bundles, the app
@@ -689,8 +689,8 @@ Q31HIqX6H6JYdgtwHB1ZHaq+XS0lfLEGtsCqKKqTfNC9Q62RUBx7TfPk1w==
689689### Creating an SMIME bundle and verifying it
690690
691691In these example cases the content will be overridden by the content found in the
692- SMIME bundle. The smime application creates both a detatched
693- (detatched -smime-created.p7s) and a non detatched bundle (smime-created.p7s).
692+ SMIME bundle. The smime application creates both a detached
693+ (detached -smime-created.p7s) and a non detached bundle (smime-created.p7s).
694694
695695Creating RSA signed bundles:
696696
0 commit comments