Back to product page
- Introduction
- Overview
- License agreement
- Classes
- Enumerations
- wodSFTPdll
- Create function
- Destroy function
- Methods
- Abort
- About
- AppendData
- AppendDataLen
- AppendFile
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- ExtendedCmd
- GetAttributes
- GetData
- GetDataAt
- GetDataToBuffer
- GetDataToBufferAt
- GetFile
- GetFileAt
- GetFiles
- ListAttributes
- ListDir
- ListNames
- LoadPrivateKey
- LoopFiles
- MakeDir
- PutData
- PutDataAt
- PutDataLen
- PutDataLenAt
- PutFile
- PutFileAt
- PutFiles
- RealPath
- RemoteClose
- RemoteOpen
- RemoteRead
- RemoteWrite
- RemoveDir
- Rename
- SetAttributes
- Properties
- Authentication
- Blocking
- BufferSize
- ClientName
- Compression
- Encryption
- EncryptionList
- ErrorText
- Extensions
- FIPS
- HMacList
- Hostname
- KeyExchangeList
- KeySignatureList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- MyHostname
- MyIP
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- ServerErrorCode
- ServerErrorText
- State
- StateText
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Callbacks
- How to get support
- Using callbacks
- Technical information
- Error list
EncryptionList function
Determines list of encryption algorithms supported and offered by wodSFTPdll.
Type
A Long value. If successful, 0 is returned, otherwise error as specified hereSyntax
- C
long Sftp_GetEncryptionList(void *Sftp, char *Buffer, int *Bufsize); long Sftp_SetEncryptionList(void *Sftp, char *newVal);
The EncryptionList(void *Sftp,char *Buffer,int *Bufsize) syntax has these parts:
The EncryptionList(void *Sftp,char *Buffer,int *Bufsize) syntax has these parts:
void *Sftp | Handle of the created Sftp instance. |
char *Buffer | Buffer that will hold the returned string. Represents the client name sent to the server. |
int *Bufsize | Size of the buffer. |
Remarks
EncryptionList property holds list of all supported and offered ciphers that can be used when client connects to the server. By default EncryptionList will contain this listaes128-ctr,aes128-gcm@openssh.com,aes128-cbc,chacha20-poly1305@openssh.com,aes192-ctr,aes192-cbc,aes256-ctr,aes256-gcm@openssh.com,aes256-cbc,3des-cbc,blowfish-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc@lysator.liu.se,des-cbc,des-cbc@ssh.com
but you can change it and remove or rearrange ciphers to suit your needs. Note, however, that order of ciphers is VERY important since client makes a choice of selected algorithm. Removing them means wodSFTPdll will not use them. Adding new unlisted ciphers will cause wodSFTPdll to fail to connect.
Changing FIPS and Encryption properties will update this property as well, so make sure you set it after using any of those two properties.