VirtualFileSecurityLevel Property
The level of security for the file.
Syntax
ANSI (Cross Platform) int GetVirtualFileSecurityLevel();
int SetVirtualFileSecurityLevel(int iVirtualFileSecurityLevel); Unicode (Windows) INT GetVirtualFileSecurityLevel();
INT SetVirtualFileSecurityLevel(INT iVirtualFileSecurityLevel);
Possible Values
SL_NONE(0),
SL_ENCRYPTED(1),
SL_SIGNED(2),
SL_ENCRYPTED_AND_SIGNED(3)
@property (nonatomic,readwrite,assign,getter=virtualFileSecurityLevel,setter=setVirtualFileSecurityLevel:) int virtualFileSecurityLevel; - (int)virtualFileSecurityLevel; - (void)setVirtualFileSecurityLevel:(int)newVirtualFileSecurityLevel;
Possible Values
SL_NONE(0),
SL_ENCRYPTED(1),
SL_SIGNED(2),
SL_ENCRYPTED_AND_SIGNED(3)
#define PID_OFTPCLIENT_VIRTUALFILESECURITYLEVEL 51 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
When sending files, set this value to the level of security for the next virtual file to send. After receiving a file, this will be set to the level of security of the last file received.
When encrypting a file, RecipientCert must be set, and when signing a file, the Certificate must be set.
The file will be processed to a temporary file before being sent.
This is only valid for version 2.0 of the protocol.
This property is not available at design time.
Data Type
Integer