IPWorks EDI 2020 Python Edition

Questions / Feedback?

oftp_connection_virtual_file_security_level Property

Specifies security options for the outgoing or incoming file.

Syntax

def get_oftp_connection_virtual_file_security_level(connection_id: int) -> int: ...
def set_oftp_connection_virtual_file_security_level(connection_id: int, value: int) -> None: ...

Default Value

0

Remarks

Specifies security options for the outgoing or incoming file.

When receiving files, query this property to determine the security level of the file received from the client.

When sending files to the client, this property will be used to determine what security options apply to the outgoing file. Possible values are:

0 (slNone - default)The file will not be signed nor encrypted.
1 (slEncrypted)The file will be encrypted using the certificate specified by the oftp_connection_recipient_cert_subject. property
2 (slSigned)The file will be signed using the certificate specified by the certificate property;
3 (slEncryptedAndSigned)The file will be both signed and encrypted.

Note that this is only applicable when Version 2.0 of the protocol is used as indicated by oftp_connection_version.

The connection_id parameter specifies the index of the item in the array. The size of the array is controlled by the oftp_connection_count property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8203]