pubkeys

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pubkey

type Pubkey struct {
	*options.Options
	// contains filtered or unexported fields
}

Pubkey - information of public key algorithm

func New

func New(opt *options.Options, pub values.PubAlg, reader *bytes.Reader) *Pubkey

New returns new Pubkey

func (*Pubkey) ParsePub

func (p *Pubkey) ParsePub(item *items.Item) error

ParsePub multi-precision integers of public key algorithm for Public-key packet

func (*Pubkey) ParseSecEnc

func (p *Pubkey) ParseSecEnc(item *items.Item) error

ParseSecEnc multi-precision integers of public key algorithm for Secret-Key Packet (encrypted)

func (*Pubkey) ParseSecPlain

func (p *Pubkey) ParseSecPlain(item *items.Item) error

ParseSecPlain multi-precision integers of public key algorithm for Secret-Key Packet (plain)

func (*Pubkey) ParseSes

func (p *Pubkey) ParseSes(item *items.Item) error

ParseSes multi-precision integers of public key algorithm for Public-Key Encrypted Session Key Packet

func (*Pubkey) ParseSig

func (p *Pubkey) ParseSig(item *items.Item) error

ParseSig multi-precision integers of public key algorithm for Signiture packet

Jump to

Keyboard shortcuts

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