inmemnonce

package
v0.20260202.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NonceService added in v0.20251103.0

type NonceService struct {
	noncepb.NonceServiceClient
	Impl *nonce.NonceService
}

NonceService implements noncepb.NonceServiceClient for tests.

func (*NonceService) AsSource added in v0.20251103.0

func (ns *NonceService) AsSource() jose.NonceSource

AsSource returns a wrapper type that implements jose.NonceSource using this inmemory service. This is useful so that tests can get nonces for signing their JWS that will be accepted by the test WFE configured using this service.

func (*NonceService) Nonce added in v0.20251103.0

func (ns *NonceService) Nonce(ctx context.Context, req *emptypb.Empty, opts ...grpc.CallOption) (*noncepb.NonceMessage, error)

func (*NonceService) Redeem added in v0.20251103.0

Jump to

Keyboard shortcuts

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