packets

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2016 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packet

type Packet struct {
	Tag     values.Tag
	Content []byte
}

Packet is OpenPGP Packet

func (*Packet) Parse

func (p *Packet) Parse(opt *options.Options) (*items.Item, error)

Parse parsing OpenPGP packet.

func (*Packet) String

func (p *Packet) String() string

StringPacketInfo returns string of packet information

type Packets

type Packets struct {
	// contains filtered or unexported fields
}

Packets is OpenPGP Packets

func NewPackets

func NewPackets(r io.Reader) *Packets

NewPackets returns Packets

func (*Packets) Next

func (p *Packets) Next() (*Packet, error)

Next returns next OpenPGP packet

type Tags

type Tags interface {
	Parse() (*items.Item, error)
}

Tags parsing interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL