certs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package certs defines the commands to generate issuer and AS certificates from the configuration files.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "certs",
	Short: "Interact with certificates for the SCION control plane PKI.",
	Long: `'certs' can be used to generate and verify certificates for the SCION control plane PKI.

Selector:
    *-*: All ISDs and ASes under the root directory.
    X-*: All ASes in ISD X.
    X-Y: A specific AS X-Y, e.g. AS 1-ff00:0:110.

The subcommands expect the contents of the root directory to follow a predefined
file structure. See 'scion-pki help' for more information.
`,
}

Functions

func ASFile added in v0.5.0

func ASFile(dir string, ia addr.IA, ver scrypto.Version) string

ASFile returns the file path for the certificate chain.

func Dir added in v0.5.0

func Dir(dir string, ia addr.IA) string

Dir returns the directory where certificates are written to.

func IssuerFile added in v0.5.0

func IssuerFile(dir string, ia addr.IA, ver scrypto.Version) string

IssuerFile returns the file path for the issuer certificate.

func MatchFiles added in v0.5.0

func MatchFiles(files []string) ([]string, []string)

MatchFiles matches all issuer certificate and certificate chain file names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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