Service implements noncepb.NonceServiceClient for tests.
type Service struct { *nonce.NonceService }
func (imns *Service) 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 (imns *Service) Nonce(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*noncepb.NonceMessage, error)
Nonce implements proto.NonceServiceClient
func (imns *Service) Redeem(ctx context.Context, in *noncepb.NonceMessage, opts ...grpc.CallOption) (*noncepb.ValidMessage, error)
Redeem implements proto.NonceServiceClient