decodePacket (method)

Decodes a hex-encoded SSH packet.

Syntax

- (NSData*)decodePacket:(NSString*)encodedPacket;
public func decodePacket(_ encodedPacket: String) throws -> Data

Remarks

This method is used to decode an SSH packet created by EncodePacket.

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]