Help us shape the future of Go! Take the 2026 Go Developer Survey

svid

package
v1.14.9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s grpc.ServiceRegistrar, service *Service)

RegisterService registers the service on the gRPC server.

func ValidatePublicKeyAndSigningAlgorithm added in v1.14.3

func ValidatePublicKeyAndSigningAlgorithm(publicKey crypto.PublicKey, signingAlgorithm string) error

Types

type Config

type Config struct {
	EntryFetcher api.AuthorizedEntryFetcher
	ServerCA     ca.ServerCA
	TrustDomain  spiffeid.TrustDomain
	DataStore    datastore.DataStore
}

Config is the service configuration

type Service

type Service struct {
	svidv1.UnsafeSVIDServer
	// contains filtered or unexported fields
}

Service implements the v1 SVID service

func New

func New(config Config) *Service

New creates a new SVID service

func (*Service) BatchNewWITSVID added in v1.14.0

func (*Service) BatchNewX509SVID

func (*Service) MintJWTSVID

func (*Service) MintWITSVID added in v1.14.0

func (*Service) MintX509SVID

func (*Service) NewJWTSVID

func (s *Service) NewJWTSVID(ctx context.Context, req *svidv1.NewJWTSVIDRequest) (resp *svidv1.NewJWTSVIDResponse, err error)

Jump to

Keyboard shortcuts

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