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.