|
107 | 107 |
|
108 | 108 | The default <xref:System.Security.Cryptography.Pkcs.SubjectIdentifierType> for recipients is <xref:System.Security.Cryptography.Pkcs.SubjectIdentifierType.IssuerAndSerialNumber>. |
109 | 109 |
|
110 | | - On .NET Framework, the default symmetric encryption algorithm is determined by the version of the .NET Framework that the application executable was built against. Starting with .NET Framework 4.8, the default algorithm is AES-256 in CBC mode; in prior versions, the default is TripleDES (DES3-EDE) in CBC mode. |
111 | | -
|
112 | | - On .NET Core, the default symmetric encryption algorithm is determined by the version of the System.Security.Cryptography.Pkcs assembly that is loaded. Starting with the 4.6.0 version of the System.Security.Cryptography.Pkcs NuGet package, the default algorithm is AES-256 in CBC mode; in prior versions, the default is TripleDES (DES3-EDE) in CBC mode. |
| 110 | +The default symmetric encryption algorithm is determined by the version of the System.Security.Cryptography.Pkcs assembly that is loaded. Starting with the 4.6.0 version of the System.Security.Cryptography.Pkcs NuGet package, the default algorithm is AES-256 in CBC mode; in prior versions, the default is TripleDES (DES3-EDE) in CBC mode. |
113 | 111 |
|
114 | 112 | ]]></format> |
115 | 113 | </remarks> |
|
155 | 153 |
|
156 | 154 | The default <xref:System.Security.Cryptography.Pkcs.SubjectIdentifierType> for recipients is <xref:System.Security.Cryptography.Pkcs.SubjectIdentifierType.IssuerAndSerialNumber>. |
157 | 155 |
|
158 | | - On .NET Framework, the default symmetric encryption algorithm is determined by the version of the .NET Framework that the application executable was built against. Starting with .NET Framework 4.8, the default algorithm is AES-256 in CBC mode; in prior versions, the default is TripleDES (DES3-EDE) in CBC mode. |
159 | | -
|
160 | | - On .NET Core, the default symmetric encryption algorithm is determined by the version of the System.Security.Cryptography.Pkcs assembly that is loaded. Starting with the 4.6.0 version of the System.Security.Cryptography.Pkcs NuGet package, the default algorithm is AES-256 in CBC mode; in prior versions, the default is TripleDES (DES3-EDE) in CBC mode. |
161 | | -
|
| 156 | +The default symmetric encryption algorithm is determined by the version of the System.Security.Cryptography.Pkcs assembly that is loaded. Starting with the 4.6.0 version of the System.Security.Cryptography.Pkcs NuGet package, the default algorithm is AES-256 in CBC mode; in prior versions, the default is TripleDES (DES3-EDE) in CBC mode. |
162 | 157 |
|
163 | 158 | ]]></format> |
164 | 159 | </remarks> |
|
477 | 472 |
|
478 | 473 | The <xref:System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt> method does not search the computer My store if it is inaccessible. |
479 | 474 |
|
480 | | -The following permissions are required to access the decryption key on .NET Framework: |
481 | | -
|
482 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Open?displayProperty=nameWithType> |
483 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Decrypt?displayProperty=nameWithType> |
484 | | -
|
485 | 475 | ]]></format> |
486 | 476 | </remarks> |
487 | 477 | <exception cref="T:System.Security.Cryptography.CryptographicException">A cryptographic operation could not be completed.</exception> |
@@ -524,16 +514,7 @@ The following permissions are required to access the decryption key on .NET Fram |
524 | 514 | <Docs> |
525 | 515 | <param name="recipientInfo">The recipient info to use for decryption.</param> |
526 | 516 | <summary>Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via a specified recipient info by searching certificate stores for a matching certificate and key.</summary> |
527 | | - <remarks> |
528 | | - <format type="text/markdown"><![CDATA[ |
529 | | -
|
530 | | -The following permissions are required to access the decryption key on .NET Framework: |
531 | | -
|
532 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Open?displayProperty=nameWithType> |
533 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Decrypt?displayProperty=nameWithType> |
534 | | -
|
535 | | - ]]></format> |
536 | | - </remarks> |
| 517 | + <remarks>To be added.</remarks> |
537 | 518 | <exception cref="T:System.ArgumentNullException">The <paramref name="recipientInfo" /> parameter is <see langword="null" />.</exception> |
538 | 519 | <exception cref="T:System.Security.Cryptography.CryptographicException">A cryptographic operation could not be completed.</exception> |
539 | 520 | <exception cref="T:System.InvalidOperationException">A method call was invalid for the object's current state.</exception> |
@@ -575,16 +556,7 @@ The following permissions are required to access the decryption key on .NET Fram |
575 | 556 | <Docs> |
576 | 557 | <param name="extraStore">A collection of certificates to use in addition to the certificate stores for finding a recipient certificate and private key.</param> |
577 | 558 | <summary>Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via any available recipient info by searching certificate stores and a provided collection for a matching certificate and key.</summary> |
578 | | - <remarks> |
579 | | - <format type="text/markdown"><![CDATA[ |
580 | | -
|
581 | | -The following permissions are required to access the decryption key on .NET Framework: |
582 | | -
|
583 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Open?displayProperty=nameWithType> |
584 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Decrypt?displayProperty=nameWithType> |
585 | | -
|
586 | | - ]]></format> |
587 | | - </remarks> |
| 559 | + <remarks>To be added.</remarks> |
588 | 560 | <exception cref="T:System.ArgumentNullException">The <paramref name="extraStore" /> parameter was <see langword="null" />.</exception> |
589 | 561 | <exception cref="T:System.Security.Cryptography.CryptographicException">A cryptographic operation could not be completed.</exception> |
590 | 562 | <exception cref="T:System.InvalidOperationException">A method call was invalid for the object's current state.</exception> |
@@ -684,16 +656,7 @@ Unlike the other overloads of `Decrypt`, this overload does not search certifica |
684 | 656 | <param name="recipientInfo">The recipient info to use for decryption.</param> |
685 | 657 | <param name="extraStore">A collection of certificates to use in addition to the certificate stores for finding a recipient certificate and private key.</param> |
686 | 658 | <summary>Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via a specified recipient info by searching certificate stores and a provided collection for a matching certificate and key.</summary> |
687 | | - <remarks> |
688 | | - <format type="text/markdown"><![CDATA[ |
689 | | -
|
690 | | -The following permissions are required to access the decryption key on .NET Framework: |
691 | | -
|
692 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Open?displayProperty=nameWithType> |
693 | | -- <xref:System.Security.Permissions.KeyContainerPermissionFlags.Decrypt?displayProperty=nameWithType> |
694 | | -
|
695 | | - ]]></format> |
696 | | - </remarks> |
| 659 | + <remarks>To be added.</remarks> |
697 | 660 | <exception cref="T:System.ArgumentNullException">The <paramref name="recipientInfo" /> or <paramref name="extraStore" /> parameter is <see langword="null" />.</exception> |
698 | 661 | <exception cref="T:System.Security.Cryptography.CryptographicException">A cryptographic operation could not be completed.</exception> |
699 | 662 | <exception cref="T:System.InvalidOperationException">A method call was invalid for the object's current state.</exception> |
|
0 commit comments