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
HMacList function
Determines list of digest algorithms supported and offered by wodSFTPdll.
Type
A Long value. If successful, 0 is returned, otherwise error as specified hereSyntax
- C
long Sftp_GetHMacList(void *Sftp, char *Buffer, int *Bufsize); long Sftp_SetHMacList(void *Sftp, char *newVal);
The HMacList(void *Sftp,char *Buffer,int *Bufsize) syntax has these parts:
The HMacList(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, or new string that will be set. |
int *Bufsize | Size of the buffer. |
Remarks
HMacList property holds list of all supported and offered digest algorithms that can be used when client connects to the server. By default HMacList will contain this listhmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,none
but you can change it and remove or rearrange digests to suit your needs. Note that order of supported algorithms is VERY important since client makes a choice of used digest. Removing them means wodSFTPdll will not use them. Adding new unlisted digest algorithm will cause wodSFTPdll to fail to connect.
Changing FIPS property will update this property as well, so make sure this property is set after using FIPS property.