credvalidator

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Clock       clock.Clock
	TrustDomain spiffeid.TrustDomain
}

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Validator, error)

func (*Validator) ValidateServerX509SVID

func (v *Validator) ValidateServerX509SVID(svid *x509.Certificate) error

func (*Validator) ValidateWorkloadJWTSVID

func (v *Validator) ValidateWorkloadJWTSVID(rawToken string, id spiffeid.ID) error

func (*Validator) ValidateX509CA

func (v *Validator) ValidateX509CA(ca *x509.Certificate) error

func (*Validator) ValidateX509SVID

func (v *Validator) ValidateX509SVID(svid *x509.Certificate, id spiffeid.ID) error

Jump to

Keyboard shortcuts

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