openpgp

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package openpgp provides an ECDH implementation backed by an OpenPGP card.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrivateKey

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

func (*PrivateKey) DH

func (kp *PrivateKey) DH(_ dh.PublicKey) ([]byte, error)

func (*PrivateKey) Public

func (kp *PrivateKey) Public() (pk dh.PublicKey)

Public returns the public key of the keypair.

Jump to

Keyboard shortcuts

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