services

package
Version: v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterIssuerServer

func RegisterIssuerServer(s *grpc.Server, srv IssuerServer)

func RegisterProviderServer

func RegisterProviderServer(s *grpc.Server, srv ProviderServer)

Types

type IssuerClient

type IssuerClient interface {
	GetVerificationKey(ctx context.Context, in *commands.VerificationKeyRequest, opts ...grpc.CallOption) (*commands.VerificationKeyResponse, error)
	SignAttributes(ctx context.Context, in *commands.SignRequest, opts ...grpc.CallOption) (*commands.SignResponse, error)
	BlindSignAttributes(ctx context.Context, in *commands.BlindSignRequest, opts ...grpc.CallOption) (*commands.BlindSignResponse, error)
}

IssuerClient is the client API for Issuer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIssuerClient

func NewIssuerClient(cc *grpc.ClientConn) IssuerClient

type IssuerServer

IssuerServer is the server API for Issuer service.

type ProviderClient

type ProviderClient interface {
	VerifyCredentials(ctx context.Context, in *commands.VerifyRequest, opts ...grpc.CallOption) (*commands.VerifyResponse, error)
	BlindVerifyCredentials(ctx context.Context, in *commands.BlindVerifyRequest, opts ...grpc.CallOption) (*commands.BlindVerifyResponse, error)
}

ProviderClient is the client API for Provider service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewProviderClient

func NewProviderClient(cc *grpc.ClientConn) ProviderClient

type ProviderServer

type ProviderServer interface {
	VerifyCredentials(context.Context, *commands.VerifyRequest) (*commands.VerifyResponse, error)
	BlindVerifyCredentials(context.Context, *commands.BlindVerifyRequest) (*commands.BlindVerifyResponse, error)
}

ProviderServer is the server API for Provider service.

type UnimplementedIssuerServer

type UnimplementedIssuerServer struct {
}

UnimplementedIssuerServer can be embedded to have forward compatible implementations.

func (*UnimplementedIssuerServer) BlindSignAttributes

func (*UnimplementedIssuerServer) GetVerificationKey

func (*UnimplementedIssuerServer) SignAttributes

type UnimplementedProviderServer

type UnimplementedProviderServer struct {
}

UnimplementedProviderServer can be embedded to have forward compatible implementations.

func (*UnimplementedProviderServer) BlindVerifyCredentials

func (*UnimplementedProviderServer) VerifyCredentials

Source Files

Jump to

Keyboard shortcuts

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