...
1
2
3 package proto
4
5 import (
6 context "context"
7
8 proto "github.com/letsencrypt/boulder/core/proto"
9 grpc "google.golang.org/grpc"
10 emptypb "google.golang.org/protobuf/types/known/emptypb"
11 )
12
13
14 type StorageAuthorityCertificateClient interface {
15 AddSerial(ctx context.Context, in *AddSerialRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
16 AddPrecertificate(ctx context.Context, in *AddCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
17 AddCertificate(ctx context.Context, in *AddCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
18 GetCertificate(ctx context.Context, in *Serial, opts ...grpc.CallOption) (*proto.Certificate, error)
19 SetCertificateStatusReady(ctx context.Context, in *Serial, opts ...grpc.CallOption) (*emptypb.Empty, error)
20 }
21
View as plain text