Inherits from NSObject
Conforms to NSCopying
Declared in PGPPacket.h

Properties

bodyData

@property (copy, readonly) NSData *bodyData

headerData

@property (copy, readonly) NSData *headerData

indeterminateLength

@property (assign) BOOL indeterminateLength

tag

@property (assign, readonly) PGPPacketTag tag

Class Methods

buildNewFormatLengthDataForData:

+ (NSData *)buildNewFormatLengthDataForData:(NSData *)bodyData

parsePacketHeader:bodyLength:packetTag:

+ (NSData *)parsePacketHeader:(NSData *)headerData bodyLength:(UInt32 *)bodyLength packetTag:(PGPPacketTag *)tag

Instance Methods

buildHeaderData:

- (NSData *)buildHeaderData:(NSData *)bodyData

exportPacket:

- (NSData *)exportPacket:(NSError *__autoreleasing *)error

init

- (instancetype)init

initWithHeader:body:

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

parsePacketBody:error:

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