trcs

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(pather command.Pather) *cobra.Command

func CreatePayload

func CreatePayload(cfg conf.TRC) (*cppki.TRC, error)

CreatePayload creates the ASN.1 payload for the TRC from the given configuration.

func DecodeFromFile

func DecodeFromFile(name string) (cppki.SignedTRC, error)

DecodeFromFile decodes a signed TRC from the provided file.

func RunCombine

func RunCombine(files []string, pld, out string) error

RunCombine combines the partially signed TRC files files and writes them to the out directory, pld is the payload file.

func RunVerify

func RunVerify(files []string, anchor string) error

RunVerify runs verification of the TRC files from the given anchor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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