cert_tools

package
v0.0.0-...-3fc2f18 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OutputPem

func OutputPem(out io.Writer, b []byte, header string) error

Types

type Key

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

func NewKey

func NewKey() (*Key, error)

func ReadKeyFromFile

func ReadKeyFromFile(file string) (*Key, error)

func (*Key) OutputPem

func (k *Key) OutputPem(out io.Writer) error

func (*Key) ToPem

func (k *Key) ToPem() ([]byte, error)

Jump to

Keyboard shortcuts

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