pem

package
v3.7.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockFromBytes

func BlockFromBytes(data []byte, blockType string) (*pem.Block, bool)

func BlockFromFile

func BlockFromFile(path string, blockType string) (*pem.Block, bool, error)

func BlockToBytes

func BlockToBytes(block *pem.Block) ([]byte, error)

func BlockToFile

func BlockToFile(path string, block *pem.Block, mode os.FileMode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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