publickey

package
v0.0.0-...-00d5616 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(key []byte) (*ecdsa.PublicKey, error)

Decode returns the public key from a given PEM-Encoded byte slice representation of the public key or a non-nil error if fail

func EncodePublicKey

func EncodePublicKey(key *ecdsa.PublicKey) []byte

Returns the PEM-Encoded byte slice from a given public key

Types

This section is empty.

Jump to

Keyboard shortcuts

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