encodePacket (method)

Hex encodes an SSH packet.

Syntax

- (NSString*)encodePacket:(NSData*)packet;
public func encodePacket(_ packet: Data) throws -> String

Remarks

This method is used to encode a raw SSH packet created by SetSSHParam.

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]