var File_publisher_proto protoreflect.FileDescriptor
Publisher_ServiceDesc is the grpc.ServiceDesc for Publisher service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Publisher_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Publisher", HandlerType: (*PublisherServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitToSingleCTWithResult", Handler: _Publisher_SubmitToSingleCTWithResult_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "publisher.proto", }
func RegisterPublisherServer(s grpc.ServiceRegistrar, srv PublisherServer)
PublisherClient is the client API for Publisher service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type PublisherClient interface { SubmitToSingleCTWithResult(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Result, error) }
func NewPublisherClient(cc grpc.ClientConnInterface) PublisherClient
PublisherServer is the server API for Publisher service. All implementations must embed UnimplementedPublisherServer for forward compatibility
type PublisherServer interface { SubmitToSingleCTWithResult(context.Context, *Request) (*Result, error) // contains filtered or unexported methods }
type Request struct { Der []byte `protobuf:"bytes,1,opt,name=der,proto3" json:"der,omitempty"` LogURL string `protobuf:"bytes,2,opt,name=LogURL,proto3" json:"LogURL,omitempty"` LogPublicKey string `protobuf:"bytes,3,opt,name=LogPublicKey,proto3" json:"LogPublicKey,omitempty"` Precert bool `protobuf:"varint,4,opt,name=precert,proto3" json:"precert,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor() ([]byte, []int)
Deprecated: Use Request.ProtoReflect.Descriptor instead.
func (x *Request) GetDer() []byte
func (x *Request) GetLogPublicKey() string
func (x *Request) GetLogURL() string
func (x *Request) GetPrecert() bool
func (*Request) ProtoMessage()
func (x *Request) ProtoReflect() protoreflect.Message
func (x *Request) Reset()
func (x *Request) String() string
type Result struct { Sct []byte `protobuf:"bytes,1,opt,name=sct,proto3" json:"sct,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor() ([]byte, []int)
Deprecated: Use Result.ProtoReflect.Descriptor instead.
func (x *Result) GetSct() []byte
func (*Result) ProtoMessage()
func (x *Result) ProtoReflect() protoreflect.Message
func (x *Result) Reset()
func (x *Result) String() string
UnimplementedPublisherServer must be embedded to have forward compatible implementations.
type UnimplementedPublisherServer struct { }
func (UnimplementedPublisherServer) SubmitToSingleCTWithResult(context.Context, *Request) (*Result, error)
UnsafePublisherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublisherServer will result in compilation errors.
type UnsafePublisherServer interface {
// contains filtered or unexported methods
}