pgp

package
v0.0.0-...-7523913 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PGPEntityFromBytes

func PGPEntityFromBytes(packetBytes []byte) (*openpgp.Entity, error)

Types

type FilePGPProvider

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

FileGPGProvider provides pgp via files on the filesystem

func NewFilePGPProvider

func NewFilePGPProvider(keyringLocation, keyidString string, passphrase []byte) (*FilePGPProvider, error)

func (*FilePGPProvider) GetEntity

func (provider *FilePGPProvider) GetEntity() *openpgp.Entity

type PGPProvider

type PGPProvider interface {
	GetEntity() *openpgp.Entity
}

Jump to

Keyboard shortcuts

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