Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cmd = &cobra.Command{ Use: "encode [flags] [file [file […]]]", Short: "Make a PEM block", Long: `Make a PEM block from DER encoded objects or raw data Reads some data and makes it into a pem block. Unless --raw is used then the input data is assumed to be DER encoded and an attempt is made to figure out what kind of cryptographic object the data is and create the right headers for it. Multiple ASN.1 objects can be concatenated and passed as input and multiple PEM blocks will be emitted (DER is a form of ASN.1). All input files will be read and concatenated. --type can be used to override the type PEM block emitted. Specify once for each object passed in. If the type is 'auto' xca will take a guess as to what the correct type is. If --raw is used then no interpretation of the input data is made and --type must be specified exactly once. One PEM block will be emitted containing all of the input data.`, Args: util.StdInOnce, RunE: encodeCmdFunc, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.