proxy

package
v0.2103.7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package proxy implements the Oasis IAS proxy endpoint.

Index

Constants

View Source
const CommonName = "ias-proxy"

CommonName is the CommonName for the IAS proxy TLS certificate.

Variables

This section is empty.

Functions

func New

func New(endpoint api.Endpoint, authenticator Authenticator) api.Endpoint

New creates a new proxy endpoint.

Types

type Authenticator

type Authenticator interface {
	// VerifyEvidence returns nil iff the signer's evidenice may attest
	// via the gRPC server.
	//
	// Caller authentication information may be derived from the context.
	VerifyEvidence(ctx context.Context, evidence *api.Evidence) error
}

Authenticator is the interface used to authenticate gRPC requests.

Directories

Path Synopsis
Package client implements the Oasis IAS proxy client endpoint.
Package client implements the Oasis IAS proxy client endpoint.

Jump to

Keyboard shortcuts

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