output

package
v3.18.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Command     int
	Format      string
	ChainOption certificate.ChainOption

	AllFile      string
	KeyFile      string
	CertFile     string
	ChainFile    string
	PickupIdFile string

	KeyPassword string
}

type Output

type Output struct {
	Certificate string   `json:",omitempty"`
	PrivateKey  string   `json:",omitempty"`
	Chain       []string `json:",omitempty"`
	PickupId    string   `json:",omitempty"`
}

func (*Output) AsPKCS12

func (o *Output) AsPKCS12(c *Config) ([]byte, error)

func (*Output) Format

func (o *Output) Format(c *Config) ([]byte, error)

type Result

type Result struct {
	Pcc      *certificate.PEMCollection
	PickupId string
	Config   *Config
}

func (*Result) Flush

func (r *Result) Flush() error

Jump to

Keyboard shortcuts

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