cmd_decode

package
v0.0.0-...-3746c95 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:   "decode [flags] [file [file […]]]",
		Short: "Decode PEM to DER",
		Long: `Decode PEM block(s) and emit DER version

Read a PEM block and emit the decoded data. Usually the data is DER encoded so
this command can be used to convert PEM encoded certificates, keys, and other
objects to their DER version.
Without --multiple only the first PEM block found will be decoded. Files will
be read until a PEM block is found. With --multiple all PEM blocks in all
files will be decoded and the output concatenated`,
		Args: util.StdInOnce,
		RunE: decodeCmdFunc,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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