validator

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator interface {
	// Start starts the validator.
	Start(context.Context) error

	// Validate validates the identity of a certificate request.
	// Returns the Trust Domain of the certificate requester, and whether the
	// signed certificates duration should be overridden to the maximum time
	// permitted by the singing certificate.
	Validate(context.Context, *sentryv1pb.SignCertificateRequest) (spiffeid.TrustDomain, error)
}

Validator is used to validate the identity of a certificate requester by using an ID and token. Returns the trust domain of the certificate requester.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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