Inherits from NSObject
Conforms to NSCopying
PGPExportable
PGPPacketProtocol
Declared in PGPPacket.h

Properties

indeterminateLength

@property (nonatomic) BOOL indeterminateLength

Class Methods

buildPacketOfType:withBody:

+ (NSData *)buildPacketOfType:(PGPPacketTag)tag withBody:(PGP_NOESCAPE NSData *( ^ ) ( void ))body

parsePacketHeader:headerLength:nextPacketOffset:packetTag:indeterminateLength:

+ (nullable NSData *)parsePacketHeader:(NSData *)data headerLength:(UInt32 *)headerLength nextPacketOffset:(nullable NSUInteger *)nextPacketOffset packetTag:(PGPPacketTag *)tag indeterminateLength:(BOOL *)indeterminateLength

Instance Methods

init

- (instancetype)init

initWithHeader:body:

- (instancetype)initWithHeader:(NSData *)headerData body:(NSData *)bodyData

parsePacketBody:error:

- (NSUInteger)parsePacketBody:(NSData *)packetBody error:(NSError *__autoreleasing *)error