notmain

package
v0.20260720.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MPL-2.0 Imports: 16 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 {
	MTCA struct {
		cmd.ServiceConfig

		GRPCMTCA *cmd.GRPCServerConfig

		DB cmd.DBConfig `validate:"required"`
		S3 bs3.Config   `validate:"required"`

		// Issuer holds the configuration for a single MTCA instance with a single mtcaID.
		// We run a separate process for each issuer.
		// TODO: the issuance package parses the CA certificate as a self-signed X.509
		// certificate, but per MTC draft, a CA SHOULD be represented by an RFC 9925
		// unsigned certificate: https://www.rfc-editor.org/rfc/rfc9925.html.
		Issuer issuance.IssuerConfig

		// SequencingPeriod controls how frequently the MTCA sequences a batch and signs a checkpoint.
		SequencingPeriod config.Duration `validate:"required"`
	}

	Syslog        cmd.SyslogConfig
	OpenTelemetry cmd.OpenTelemetryConfig
}

Jump to

Keyboard shortcuts

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