grpcserver

package
v0.7.13 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apiv1VC20

type Apiv1VC20 interface {
	Apiv1
	MakeVC20(ctx context.Context, req *apiv1.CreateVC20Request) (*apiv1.CreateVC20Reply, error)
}

Apiv1VC20 extends the Apiv1 interface with W3C VC 2.0 support

type Service

type Service struct {
	apiv1_issuer.UnimplementedIssuerServiceServer
	// contains filtered or unexported fields
}

Service holds the service

func New

func New(ctx context.Context, cfg *model.Cfg, apiv1 *apiv1.Client, log *logger.Log) (*Service, error)

New creates a new grpc service

func (*Service) Close

func (s *Service) Close(ctx context.Context) error

Close closes gRPC server

func (*Service) GetIACAs added in v0.7.0

GetIACAs returns the IACA certificates from the mDOC certificate chain

func (*Service) JWKS

JWKS returns the JWKS

func (*Service) MakeJWP added in v0.7.8

MakeJWP creates a blind BBS credential in JWP Compact Serialization

func (*Service) MakeMDoc

MakeMDoc creates an mdoc credential per ISO 18013-5

func (*Service) MakeSDJWT

MakeSDJWT creates an sd-jwt and return it, else error

func (*Service) MakeVC20

MakeVC20 creates a W3C VC 2.0 Data Integrity credential

func (*Service) SignMetadata added in v0.5.14

SignMetadata signs metadata JSON with the issuer's own key (the key in JWKS)

func (*Service) Status added in v0.7.4

Status returns the readiness status of the issuer service and its dependencies.

Jump to

Keyboard shortcuts

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