cps

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrFetchingEnrollment is returned when fetching enrollment fails
	ErrFetchingEnrollment = errors.New("unable to fetch enrollment with given id")
	// ErrFetchingCertificateHistory is returned when fetching certificate history fails
	ErrFetchingCertificateHistory = errors.New("unable to fetch certificate history with given id")
	// ErrUnsupportedEnrollmentType is returned when user try to export OV or EV enrollments
	ErrUnsupportedEnrollmentType = errors.New("supporting export of dv and third-party enrollments but got")
)

Functions

func CmdCreateCPS

func CmdCreateCPS(c *cli.Context) error

CmdCreateCPS is an entrypoint to create-cps command

Types

type TFCPSData

type TFCPSData struct {
	Enrollment          cps.Enrollment
	EnrollmentID        int
	ContractID          string
	Section             string
	CertificateECDSA    string
	TrustChainECDSA     string
	CertificateRSA      string
	TrustChainRSA       string
	NoUploadCertificate bool
}

TFCPSData represents the data used in CPS templates

Jump to

Keyboard shortcuts

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