...
1 package ra
2
3 import (
4 "context"
5
6 "github.com/letsencrypt/boulder/ra"
7 rapb "github.com/letsencrypt/boulder/ra/proto"
8
9 "google.golang.org/grpc"
10 "google.golang.org/protobuf/types/known/emptypb"
11 )
12
13
14
15
16
17 type RA struct {
18 rapb.RegistrationAuthorityClient
19 Impl *ra.RegistrationAuthorityImpl
20 }
21
22
23 func (ra RA) AdministrativelyRevokeCertificate(ctx context.Context, req *rapb.AdministrativelyRevokeCertificateRequest, _ ...grpc.CallOption) (*emptypb.Empty, error) {
24 return ra.Impl.AdministrativelyRevokeCertificate(ctx, req)
25 }
26
View as plain text