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
Pre-creates a SafeBox on the SendSecure system and returns the updated Safebox object with the necessary system parameters filled out (GUID, public encryption key, upload URL).
222
+
Pre-creates a SafeBox on the SendSecure system and returns the updated [Safebox](#safebox) object with the necessary system parameters filled out (GUID, public encryption key, upload URL).
Uploads the specified file as an Attachment of the specified SafeBox and returns the updated Attachment object with the GUID parameter filled out.
233
+
Uploads the specified file as an Attachment of the specified SafeBox and returns the updated [Attachment](#attachment) object with the GUID parameter filled out.
safebox | Safebox | A Safebox object already initialized, with security profile, recipient(s), subject and message already defined, and attachments already uploaded.
251
-
cancellationToken | CancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation
248
+
Param | Definition
249
+
------------------|-----------
250
+
safebox | A [Safebox](#safebox) object already initialized, with security profile, recipient(s), subject and message already defined, and attachments already uploaded.
251
+
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation
252
252
253
253
### Submit SafeBox
254
254
```
255
255
SubmitSafeboxAsync(safebox, cancellationToken)
256
256
```
257
257
This method is a high-level combo that initializes the SafeBox, uploads all attachments and commits the SafeBox.
safebox | Safebox | A non-initialized Safebox object with security profile, recipient(s), subject, message and attachments (not yet uploaded) already defined.
262
-
cancellationToken | CancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation
259
+
Param | Definition
260
+
------------------|-----------
261
+
safebox | A non-initialized [Safebox](#safebox) object with security profile, recipient(s), subject, message and attachments (not yet uploaded) already defined.
262
+
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation
263
263
264
264
265
265
## Helper Modules
266
266
267
+
<aname="safebox"></a>
267
268
### Safebox
268
269
270
+
Builds an object to send all the necessary information to create a new Safebox.
271
+
272
+
Attribute | Definition
273
+
---------------------|-----------
274
+
Guid | The unique identifier of the SafeBox (filled by the system once the SafeBox is initialized).
275
+
UploadUrl | The URL used to upload the SafeBox attachments (filled by the system once the SafeBox is initialized).
276
+
PublicEncryptionKey | The key used to encrypt the SafeBox attachments and/or messages (filled by the system once the SafeBox is initialized).
277
+
UserEmail | The email address of the creator of the SafeBox (mandatory).
278
+
Subject | The subject of the SafeBox (optional).
279
+
Message | The initial message of the SafeBox (optional if the SafeBox has at least one attachment).
280
+
Recipients | The list of all [Recipient](#recipient) objects of the SafeBox (mandatory, at least one recipient).
281
+
Attachments | The list of all [Attachment](#attachment) objects of the SafeBox (optional if the SafeBox has a message).
282
+
SecurityProfile | The SecurityProfile object defining security options for the SafeBox (mandatory).
283
+
<!-- NotificationLanguage | The language used for email notifications sent to the recipients (optional, English by default).
284
+
MISSING -->
285
+
269
286
### SafeboxResponse
270
287
271
-
### Attachment
288
+
Represents the response to the successful creation of a SafeBox in the SendSecure system.
289
+
All attributes are filled by the system once the SafeBox is successfully created (sent).
290
+
291
+
Attribute | Definition
292
+
---------------------|-----------
293
+
Guid | The unique identifier of the SafeBox.
294
+
PreviewUrl | The URL to access the SafeBox in the SendSecure Web Portal.
295
+
EncryptionKey | The key that may be required to decrypt the SafeBox content (only if Double Encryption is enabled in the Security Profile).
272
296
297
+
<aname="recipient"></a>
273
298
### Recipient
274
299
300
+
Builds an object to create a recipient for the SafeBox.
301
+
302
+
Attribute | Definition
303
+
---------------------|-----------
304
+
Email | The email address of the recipient (mandatory).
305
+
FirstName | The first name of the recipient (optional).
306
+
LastName | The last name of the recipient (optional).
307
+
CompanyName | The company name of the recipient (optional).
308
+
ContactMethods | The list of all [ContactMethod](#contactmethod) objects of the recipient (may be mandatory depending on the Security Profile of the SafeBox).
309
+
310
+
<aname="contactmethod"></a>
275
311
### ContactMethod
276
312
313
+
Builds an object to create a phone number destination owned by the recipient (as part of the Recipient object attributes).
314
+
Any ContactMethod – plus the recipient's email address – will be usable as Security Code delivery means to the recipient.
315
+
All attributes are mandatory.
316
+
317
+
Attribute | Definition
318
+
---------------------|-----------
319
+
Destination | A phone number owned by the recipient.
320
+
DestinationType | The phone number's type (i.e. home/cell/office/other).
321
+
322
+
323
+
<aname="attachment"></a>
324
+
### Attachment
325
+
326
+
Builds an object to be uploaded to the server as attachment of the SafeBox.
327
+
Can be created either with a [File Path](#file) or a [Stream](#stream).
328
+
All attributes are mandatory.
329
+
330
+
<aname="filepath"></a>
331
+
#### File Path
332
+
333
+
Attribute | Definition
334
+
---------------------|-----------
335
+
Guid | The unique identifier of the attachment (filled by the system once the file is uploaded).
336
+
ContentType | The file Content-type (MIME).
337
+
FileName | The path (full filename) of the file to upload.
338
+
339
+
<aname="stream"></a>
340
+
#### Stream
341
+
342
+
Attribute | Definition
343
+
---------------------|-----------
344
+
Guid | The unique identifier of the attachment (filled by the system once the file is uploaded).
345
+
ContentType | The file Content-type (MIME).
346
+
Stream | The data to upload.
347
+
Filename | The file name.
348
+
Size | The file size.
349
+
277
350
### SecurityProfile
278
351
352
+
Represents the settings of a Security Profile.
353
+
The use of specific attributes of this object rather takes place in advanced scenarios.
354
+
To know all available attributes, please look in the library.
355
+
279
356
### EnterpriseSettings
280
357
358
+
Represents the SendSecure settings of an Enterprise Account.
359
+
The use of specific attributes of this object rather takes place in advanced scenarios.
360
+
To know all available attributes, please look in the library.
361
+
281
362
### ExtensionFilter
282
363
364
+
Represents the list of allowed/forbidden extensions for SafeBox attachments (part of the EnterpriseSettings).
365
+
The use of specific attributes of this object rather takes place in advanced scenarios.
366
+
To know all available attributes, please look in the library.
0 commit comments