getSSHParamBytes (method)

Used to read a field from an SSH packet's payload.

Syntax

- (NSData*)getSSHParamBytes:(NSData*)payload :(NSString*)field;
public func getSSHParamBytes(_ payload: Data, _ field: String) throws -> Data

Remarks

This method is the same as calling GetSSHParam, but returns raw bytes instead of strings.

Note: This method is only applicable for reading and creating SSH packets for use within the SSHCustomAuth event.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 iOS Edition - Version 20.0 [Build 8501]