You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramname="certificate">An <seecref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object that represents the recipient certificate.</param>
70
-
<summary>The <seecref="M:System.Security.Cryptography.Pkcs.CmsRecipient.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate2)" /> constructor constructs an instance of the <seecref="T:System.Security.Cryptography.Pkcs.CmsRecipient"/> class by using the specified recipient certificate.</summary>
69
+
<paramname="certificate">The certificate to use when encrypting for this recipient.</param>
70
+
<summary>Initializes a new instance of the <seecref="T:System.Security.Cryptography.Pkcs.CmsRecipient" /> class with a specified certificate, using the default encryption mode for the public key algorithm and an <seecref="F:System.Security.Cryptography.Pkcs.SubjectIdentifierType.IssuerAndSerialNumber"/> subject identifier.</summary>
<paramname="recipientIdentifierType">A member of the <seecref="T:System.Security.Cryptography.Pkcs.SubjectIdentifierType" /> enumeration that specifies the type of the identifier of the recipient.</param>
117
-
<paramname="certificate">An <seecref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object that represents the recipient certificate.</param>
118
-
<summary>The <seecref="M:System.Security.Cryptography.Pkcs.CmsRecipient.#ctor(System.Security.Cryptography.Pkcs.SubjectIdentifierType,System.Security.Cryptography.X509Certificates.X509Certificate2)" /> constructor constructs an instance of the <seecref="T:System.Security.Cryptography.Pkcs.CmsRecipient" /> class by using the specified recipient identifier type and recipient certificate.</summary>
117
+
<paramname="recipientIdentifierType">The scheme to use for identifying which recipient certificate was used.</param>
118
+
<paramname="certificate">The certificate to use when encrypting for this recipient.</param>
119
+
<summary>Initializes a new instance of the <seecref="T:System.Security.Cryptography.Pkcs.CmsRecipient" /> class with a specified certificate and recipient identifier type, using the default encryption mode for the public key algorithm.</summary>
119
120
<remarks>To be added.</remarks>
120
-
<exceptioncref="T:System.ArgumentNullException">A null reference was passed to a method that does not accept it as a valid argument.</exception>
121
-
<exceptioncref="T:System.Security.Cryptography.CryptographicException">A cryptographic operation could not be completed.</exception>
121
+
<exceptioncref="T:System.ArgumentNullException">The <paramrefname="certificate" /> parameter is <seelangword="null" />.</exception>
122
+
<exceptioncref="T:System.Security.Cryptography.CryptographicException">The <paramrefname="recipientIdentifierType" /> value is not supported.</exception>
<paramname="rsaEncryptionPadding">To be added.</param>
146
-
<summary>To be added.</summary>
147
-
<remarks>To be added.</remarks>
146
+
<paramname="certificate">The certificate to use when encrypting for this recipient.</param>
147
+
<paramname="rsaEncryptionPadding">The RSA padding mode to use when encrypting for this recipient.</param>
148
+
<summary>Initializes a new instance of the <seecref="T:System.Security.Cryptography.Pkcs.CmsRecipient" /> class with a specified RSA certificate and RSA encryption padding, using an <seecref="F:System.Security.Cryptography.Pkcs.SubjectIdentifierType.IssuerAndSerialNumber"/> subject identifier.</summary>
149
+
<remarks>
150
+
<formattype="text/markdown"><![CDATA[
151
+
152
+
## Remarks
153
+
The <xref:System.Security.Cryptography.Pkcs.CmsRecipient> class has the following default property values.
<exceptioncref="T:System.ArgumentNullException">The <paramrefname="certificate" /> or <paramrefname="rsaEncryptionPadding" /> parameter is <seelangword="null" />.</exception>
162
+
<exceptioncref="T:System.Security.Cryptography.CryptographicException">The <paramrefname="certificate" /> parameter public key is not recognized as an RSA public key.
163
+
164
+
-or-
165
+
166
+
The <paramrefname="recipientIdentifierType" /> value is not supported.</exception>
<paramname="recipientIdentifierType">To be added.</param>
171
-
<paramname="certificate">To be added.</param>
172
-
<paramname="rsaEncryptionPadding">To be added.</param>
173
-
<summary>To be added.</summary>
189
+
<paramname="recipientIdentifierType">The scheme to use for identifying which recipient certificate was used.</param>
190
+
<paramname="certificate">The certificate to use when encrypting for this recipient.</param>
191
+
<paramname="rsaEncryptionPadding">The RSA padding mode to use when encrypting for this recipient.</param>
192
+
<summary>Initializes a new instance of the <seecref="T:System.Security.Cryptography.Pkcs.CmsRecipient" /> class with a specified RSA certificate, RSA encryption padding, and subject identifier.</summary>
174
193
<remarks>To be added.</remarks>
194
+
<exceptioncref="T:System.ArgumentNullException">The <paramrefname="certificate" /> or <paramrefname="rsaEncryptionPadding" /> parameter is <seelangword="null" />.</exception>
195
+
<exceptioncref="T:System.Security.Cryptography.CryptographicException">The <paramrefname="certificate" /> parameter public key is not recognized as an RSA public key.</exception>
<summary>The <seecref="P:System.Security.Cryptography.Pkcs.CmsRecipient.Certificate" /> property retrieves the certificate associated with the recipient.</summary>
205
-
<value>An <seecref="T:System.Security.Cryptography.X509Certificates.X509Certificate2" /> object that holds the certificate associated with the recipient.</value>
226
+
<summary>Gets the certificate to use when encrypting for this recipient.</summary>
227
+
<value>The certificate to use when encrypting for this recipient.</value>
<summary>The <seecref="P:System.Security.Cryptography.Pkcs.CmsRecipient.RecipientIdentifierType" /> property retrieves the type of the identifier of the recipient.</summary>
238
-
<value>A member of the <seecref="T:System.Security.Cryptography.Pkcs.SubjectIdentifierType" /> enumeration that specifies the type of the identifier of the recipient.</value>
258
+
<summary>Gets the scheme to use for identifying which recipient certificate was used.</summary>
259
+
<value>The scheme to use for identifying which recipient certificate was used.</value>
0 commit comments