Documentation ¶
Index ¶
- func RegisterIssuerServer(s *grpc.Server, srv IssuerServer)
- func RegisterProviderServer(s *grpc.Server, srv ProviderServer)
- type IssuerClient
- type IssuerServer
- type ProviderClient
- type ProviderServer
- type UnimplementedIssuerServer
- func (*UnimplementedIssuerServer) BlindSignAttributes(ctx context.Context, req *commands.BlindSignRequest) (*commands.BlindSignResponse, error)
- func (*UnimplementedIssuerServer) GetVerificationKey(ctx context.Context, req *commands.VerificationKeyRequest) (*commands.VerificationKeyResponse, error)
- func (*UnimplementedIssuerServer) SignAttributes(ctx context.Context, req *commands.SignRequest) (*commands.SignResponse, error)
- type UnimplementedProviderServer
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 ¶
type IssuerServer interface { GetVerificationKey(context.Context, *commands.VerificationKeyRequest) (*commands.VerificationKeyResponse, error) SignAttributes(context.Context, *commands.SignRequest) (*commands.SignResponse, error) BlindSignAttributes(context.Context, *commands.BlindSignRequest) (*commands.BlindSignResponse, error) }
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) BlindSignAttributes(ctx context.Context, req *commands.BlindSignRequest) (*commands.BlindSignResponse, error)
func (*UnimplementedIssuerServer) GetVerificationKey ¶
func (*UnimplementedIssuerServer) GetVerificationKey(ctx context.Context, req *commands.VerificationKeyRequest) (*commands.VerificationKeyResponse, error)
func (*UnimplementedIssuerServer) SignAttributes ¶
func (*UnimplementedIssuerServer) SignAttributes(ctx context.Context, req *commands.SignRequest) (*commands.SignResponse, error)
type UnimplementedProviderServer ¶
type UnimplementedProviderServer struct { }
UnimplementedProviderServer can be embedded to have forward compatible implementations.
func (*UnimplementedProviderServer) BlindVerifyCredentials ¶
func (*UnimplementedProviderServer) BlindVerifyCredentials(ctx context.Context, req *commands.BlindVerifyRequest) (*commands.BlindVerifyResponse, error)
func (*UnimplementedProviderServer) VerifyCredentials ¶
func (*UnimplementedProviderServer) VerifyCredentials(ctx context.Context, req *commands.VerifyRequest) (*commands.VerifyResponse, error)