@@ -52,7 +52,7 @@ SecureMimeType SecureMimeType {
52
52
/// Decompress the compressed-data.
53
53
/// </summary>
54
54
/// <remarks>
55
- /// Decompresses the compressed-data using the specified <see cref="SecureMimeContext "/>.
55
+ /// Decompresses the compressed-data using the specified <see cref="ISecureMimeContext "/>.
56
56
/// </remarks>
57
57
/// <returns>The decompressed <see cref="MimeEntity"/>.</returns>
58
58
/// <param name="ctx">The S/MIME context to use for decompressing.</param>
@@ -72,13 +72,13 @@ SecureMimeType SecureMimeType {
72
72
/// <exception cref="Org.BouncyCastle.Cms.CmsException">
73
73
/// An error occurred in the cryptographic message syntax subsystem.
74
74
/// </exception>
75
- MimeEntity Decompress ( SecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
75
+ MimeEntity Decompress ( ISecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
76
76
77
77
/// <summary>
78
78
/// Asynchronously decompress the compressed-data.
79
79
/// </summary>
80
80
/// <remarks>
81
- /// Asynchronously decompresses the compressed-data using the specified <see cref="SecureMimeContext "/>.
81
+ /// Asynchronously decompresses the compressed-data using the specified <see cref="ISecureMimeContext "/>.
82
82
/// </remarks>
83
83
/// <returns>The decompressed <see cref="MimeEntity"/>.</returns>
84
84
/// <param name="ctx">The S/MIME context to use for decompressing.</param>
@@ -98,13 +98,13 @@ SecureMimeType SecureMimeType {
98
98
/// <exception cref="Org.BouncyCastle.Cms.CmsException">
99
99
/// An error occurred in the cryptographic message syntax subsystem.
100
100
/// </exception>
101
- Task < MimeEntity > DecompressAsync ( SecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
101
+ Task < MimeEntity > DecompressAsync ( ISecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
102
102
103
103
/// <summary>
104
104
/// Decompress the compressed-data.
105
105
/// </summary>
106
106
/// <remarks>
107
- /// Decompresses the compressed-data using the default <see cref="SecureMimeContext "/>.
107
+ /// Decompresses the compressed-data using the default <see cref="ISecureMimeContext "/>.
108
108
/// </remarks>
109
109
/// <returns>The decompressed <see cref="MimeEntity"/>.</returns>
110
110
/// <param name="cancellationToken">The cancellation token.</param>
@@ -126,7 +126,7 @@ SecureMimeType SecureMimeType {
126
126
/// Asynchronously decompress the compressed-data.
127
127
/// </summary>
128
128
/// <remarks>
129
- /// Asynchronously decompresses the compressed-data using the default <see cref="SecureMimeContext "/>.
129
+ /// Asynchronously decompresses the compressed-data using the default <see cref="ISecureMimeContext "/>.
130
130
/// </remarks>
131
131
/// <returns>The decompressed <see cref="MimeEntity"/>.</returns>
132
132
/// <param name="cancellationToken">The cancellation token.</param>
@@ -148,7 +148,7 @@ SecureMimeType SecureMimeType {
148
148
/// Decrypt the enveloped-data.
149
149
/// </summary>
150
150
/// <remarks>
151
- /// Decrypts the enveloped-data using the specified <see cref="SecureMimeContext "/>.
151
+ /// Decrypts the enveloped-data using the specified <see cref="ISecureMimeContext "/>.
152
152
/// </remarks>
153
153
/// <returns>The decrypted <see cref="MimeEntity"/>.</returns>
154
154
/// <param name="ctx">The S/MIME context to use for decrypting.</param>
@@ -168,13 +168,13 @@ SecureMimeType SecureMimeType {
168
168
/// <exception cref="Org.BouncyCastle.Cms.CmsException">
169
169
/// An error occurred in the cryptographic message syntax subsystem.
170
170
/// </exception>
171
- MimeEntity Decrypt ( SecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
171
+ MimeEntity Decrypt ( ISecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
172
172
173
173
/// <summary>
174
174
/// Asynchronously decrypt the enveloped-data.
175
175
/// </summary>
176
176
/// <remarks>
177
- /// Asynchronously decrypts the enveloped-data using the specified <see cref="SecureMimeContext "/>.
177
+ /// Asynchronously decrypts the enveloped-data using the specified <see cref="ISecureMimeContext "/>.
178
178
/// </remarks>
179
179
/// <returns>The decrypted <see cref="MimeEntity"/>.</returns>
180
180
/// <param name="ctx">The S/MIME context to use for decrypting.</param>
@@ -194,13 +194,13 @@ SecureMimeType SecureMimeType {
194
194
/// <exception cref="Org.BouncyCastle.Cms.CmsException">
195
195
/// An error occurred in the cryptographic message syntax subsystem.
196
196
/// </exception>
197
- Task < MimeEntity > DecryptAsync ( SecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
197
+ Task < MimeEntity > DecryptAsync ( ISecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
198
198
199
199
/// <summary>
200
200
/// Decrypt the enveloped-data.
201
201
/// </summary>
202
202
/// <remarks>
203
- /// Decrypts the enveloped-data using the default <see cref="SecureMimeContext "/>.
203
+ /// Decrypts the enveloped-data using the default <see cref="ISecureMimeContext "/>.
204
204
/// </remarks>
205
205
/// <returns>The decrypted <see cref="MimeEntity"/>.</returns>
206
206
/// <param name="cancellationToken">The cancellation token.</param>
@@ -222,7 +222,7 @@ SecureMimeType SecureMimeType {
222
222
/// Asynchronously decrypt the enveloped-data.
223
223
/// </summary>
224
224
/// <remarks>
225
- /// Asynchronously decrypts the enveloped-data using the default <see cref="SecureMimeContext "/>.
225
+ /// Asynchronously decrypts the enveloped-data using the default <see cref="ISecureMimeContext "/>.
226
226
/// </remarks>
227
227
/// <returns>The decrypted <see cref="MimeEntity"/>.</returns>
228
228
/// <param name="cancellationToken">The cancellation token.</param>
@@ -263,7 +263,7 @@ SecureMimeType SecureMimeType {
263
263
/// <exception cref="Org.BouncyCastle.Cms.CmsException">
264
264
/// An error occurred in the cryptographic message syntax subsystem.
265
265
/// </exception>
266
- void Import ( SecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
266
+ void Import ( ISecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
267
267
268
268
/// <summary>
269
269
/// Asynchronously import the certificates contained in the application/pkcs7-mime content.
@@ -289,7 +289,7 @@ SecureMimeType SecureMimeType {
289
289
/// <exception cref="Org.BouncyCastle.Cms.CmsException">
290
290
/// An error occurred in the cryptographic message syntax subsystem.
291
291
/// </exception>
292
- Task ImportAsync ( SecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
292
+ Task ImportAsync ( ISecureMimeContext ctx , CancellationToken cancellationToken = default ) ;
293
293
294
294
/// <summary>
295
295
/// Verify the signed-data and return the unencapsulated <see cref="MimeEntity"/>.
@@ -319,13 +319,13 @@ SecureMimeType SecureMimeType {
319
319
/// <exception cref="Org.BouncyCastle.Cms.CmsException">
320
320
/// An error occurred in the cryptographic message syntax subsystem.
321
321
/// </exception>
322
- DigitalSignatureCollection Verify ( SecureMimeContext ctx , out MimeEntity entity , CancellationToken cancellationToken = default ) ;
322
+ DigitalSignatureCollection Verify ( ISecureMimeContext ctx , out MimeEntity entity , CancellationToken cancellationToken = default ) ;
323
323
324
324
/// <summary>
325
325
/// Verifies the signed-data and returns the unencapsulated <see cref="MimeEntity"/>.
326
326
/// </summary>
327
327
/// <remarks>
328
- /// Verifies the signed-data using the default <see cref="SecureMimeContext "/> and returns the
328
+ /// Verifies the signed-data using the default <see cref="ISecureMimeContext "/> and returns the
329
329
/// unencapsulated <see cref="MimeEntity"/>.
330
330
/// </remarks>
331
331
/// <returns>The list of digital signatures.</returns>
0 commit comments