sa: remove CountFQDNSetTimestamps (#7883)

This was superseded in #6220 by FQDNTimestampsForWindow and is no longer
called.
This commit is contained in:
Jacob Hoffman-Andrews 2024-12-16 12:24:01 -08:00 committed by GitHub
parent 2678e68806
commit 1f9f2bccf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 279 additions and 475 deletions

View File

@ -301,11 +301,6 @@ func (sa *StorageAuthority) UpdateRegistration(_ context.Context, _ *corepb.Regi
return &emptypb.Empty{}, nil
}
// CountFQDNSets is a mock
func (sa *StorageAuthorityReadOnly) CountFQDNSets(_ context.Context, _ *sapb.CountFQDNSetsRequest, _ ...grpc.CallOption) (*sapb.Count, error) {
return &sapb.Count{}, nil
}
// FQDNSetTimestampsForWindow is a mock
func (sa *StorageAuthorityReadOnly) FQDNSetTimestampsForWindow(_ context.Context, _ *sapb.CountFQDNSetsRequest, _ ...grpc.CallOption) (*sapb.Timestamps, error) {
return &sapb.Timestamps{}, nil

View File

@ -1533,17 +1533,6 @@ func (m mockSAWithFQDNSet) CountCertificatesByNames(ctx context.Context, req *sa
return &sapb.CountByNames{Counts: counts}, nil
}
func (m mockSAWithFQDNSet) CountFQDNSets(_ context.Context, req *sapb.CountFQDNSetsRequest, _ ...grpc.CallOption) (*sapb.Count, error) {
var total int64
for _, name := range req.DnsNames {
entry, ok := m.issuanceTimestamps[name]
if ok {
total += int64(len(entry.Timestamps))
}
}
return &sapb.Count{Count: total}, nil
}
func (m mockSAWithFQDNSet) FQDNSetTimestampsForWindow(_ context.Context, req *sapb.CountFQDNSetsRequest, _ ...grpc.CallOption) (*sapb.Timestamps, error) {
if len(req.DnsNames) == 1 {
return m.issuanceTimestamps[req.DnsNames[0]], nil

View File

@ -3288,138 +3288,131 @@ var file_sa_proto_rawDesc = []byte{
0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x6a, 0x77, 0x6b, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6a, 0x77, 0x6b, 0x32, 0x8a, 0x0f, 0x0a, 0x18, 0x53,
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6a, 0x77, 0x6b, 0x32, 0xd2, 0x0e, 0x0a, 0x18, 0x53,
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52,
0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x53, 0x0a, 0x18, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61,
0x6d, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x65,
0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x00, 0x12, 0x36, 0x0a, 0x0d,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x73, 0x12, 0x18, 0x2e,
0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x76,
0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x32, 0x12, 0x25, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e,
0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x73, 0x61, 0x2e,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x00, 0x12, 0x32, 0x0a, 0x0b, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x09,
0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x1b, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x12, 0x2e, 0x73, 0x61, 0x2e,
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x1a, 0x09,
0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0d, 0x46,
0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x73,
0x61, 0x2e, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x45, 0x78, 0x69, 0x73,
0x74, 0x73, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x1a, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x54,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x46, 0x6f, 0x72, 0x57, 0x69, 0x6e, 0x64,
0x6f, 0x77, 0x12, 0x18, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x51, 0x44,
0x4e, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x73,
0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x22, 0x00, 0x12, 0x40,
0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x32, 0x12, 0x14, 0x2e, 0x73, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x32, 0x1a, 0x13, 0x2e, 0x63, 0x6f, 0x72, 0x65,
0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00,
0x12, 0x48, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x1c, 0x2e, 0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41,
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x0e, 0x47, 0x65,
0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x2e, 0x73,
0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x11, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a,
0x15, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x63, 0x65, 0x72, 0x74, 0x69,
0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69,
0x61, 0x6c, 0x1a, 0x11, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66,
0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x65,
0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x17, 0x2e, 0x63, 0x6f,
0x72, 0x65, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x53, 0x74,
0x61, 0x74, 0x75, 0x73, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x78,
0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x00,
0x12, 0x2b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x73,
0x61, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b,
0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x3e, 0x0a,
0x10, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65,
0x73, 0x12, 0x1b, 0x2e, 0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x46,
0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b,
0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x3b, 0x0a,
0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x49, 0x44, 0x1a, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x14, 0x47, 0x65,
0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4b,
0x65, 0x79, 0x12, 0x0e, 0x2e, 0x73, 0x61, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x57, 0x65, 0x62, 0x4b,
0x65, 0x79, 0x1a, 0x12, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52,
0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x14, 0x2e, 0x73, 0x61,
0x2e, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65,
0x64, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x52,
0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x52, 0x4c, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x35, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72,
0x69, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0a, 0x2e, 0x73, 0x61,
0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72,
0x69, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x00, 0x12, 0x39, 0x0a,
0x13, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x42, 0x79, 0x41, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65,
0x72, 0x69, 0x61, 0x6c, 0x22, 0x00, 0x30, 0x01, 0x12, 0x2f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53,
0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x0c, 0x2e, 0x73, 0x61,
0x2e, 0x53, 0x50, 0x4b, 0x49, 0x48, 0x61, 0x73, 0x68, 0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53,
0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x00, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x17, 0x47, 0x65, 0x74,
0x56, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x32, 0x12, 0x21, 0x2e, 0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c,
0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x00, 0x12, 0x5c, 0x0a,
0x1c, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x75,
0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x26, 0x2e,
0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72,
0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x12, 0x49,
0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x69, 0x61,
0x6c, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x0d, 0x2e,
0x73, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x00, 0x12, 0x28,
0x0a, 0x0a, 0x4b, 0x65, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x0c, 0x2e, 0x73,
0x61, 0x2e, 0x53, 0x50, 0x4b, 0x49, 0x48, 0x61, 0x73, 0x68, 0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e,
0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x00, 0x12, 0x32, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6c,
0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x45, 0x78, 0x69, 0x73,
0x74, 0x73, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x0a,
0x2e, 0x73, 0x61, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x12,
0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x1b,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x25, 0x2e, 0x73, 0x61,
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x09, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x00, 0x12,
0x32, 0x0a, 0x0b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x16,
0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x6e, 0x64,
0x69, 0x6e, 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x32, 0x12, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x1a, 0x09, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0d, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x45, 0x78,
0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x73, 0x61, 0x2e, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65,
0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a,
0x2e, 0x73, 0x61, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x1a,
0x46, 0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
0x73, 0x46, 0x6f, 0x72, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x18, 0x2e, 0x73, 0x61, 0x2e,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x73, 0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x73, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x12, 0x14, 0x2e, 0x73, 0x61,
0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
0x32, 0x1a, 0x13, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41,
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x1c,
0x2e, 0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x73,
0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x22, 0x00, 0x12, 0x31, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
0x63, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c,
0x1a, 0x11, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
0x61, 0x74, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x74,
0x50, 0x72, 0x65, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x0a,
0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x11, 0x2e, 0x63, 0x6f, 0x72,
0x65, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x00, 0x12,
0x3d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72,
0x69, 0x61, 0x6c, 0x1a, 0x17, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69,
0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x00, 0x12, 0x48,
0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x00, 0x12, 0x2b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4f,
0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x73, 0x61, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65,
0x72, 0x46, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1b, 0x2e, 0x73, 0x61, 0x2e, 0x47,
0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x1a, 0x12, 0x2e, 0x63,
0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0x00, 0x12, 0x3c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x2e, 0x73, 0x61, 0x2e,
0x4a, 0x53, 0x4f, 0x4e, 0x57, 0x65, 0x62, 0x4b, 0x65, 0x79, 0x1a, 0x12, 0x2e, 0x63, 0x6f, 0x72,
0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00,
0x12, 0x39, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72,
0x69, 0x61, 0x6c, 0x1a, 0x14, 0x2e, 0x73, 0x61, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0f, 0x47,
0x65, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x1a,
0x2e, 0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x65,
0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x63, 0x6f, 0x72,
0x65, 0x2e, 0x43, 0x52, 0x4c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x35,
0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a,
0x12, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x69,
0x61, 0x6c, 0x73, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x2e, 0x73,
0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x00, 0x30, 0x01,
0x12, 0x2f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x42, 0x79,
0x4b, 0x65, 0x79, 0x12, 0x0c, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x50, 0x4b, 0x49, 0x48, 0x61, 0x73,
0x68, 0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x00, 0x30,
0x01, 0x12, 0x52, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74,
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x21, 0x2e, 0x73,
0x61, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x12, 0x2e, 0x73, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69,
0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x26, 0x2e, 0x73, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61,
0x6c, 0x69, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e,
0x73, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x12, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x73,
0x46, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x53,
0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x0d, 0x2e, 0x73, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64,
0x65, 0x6e, 0x74, 0x73, 0x22, 0x00, 0x12, 0x28, 0x0a, 0x0a, 0x4b, 0x65, 0x79, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x65, 0x64, 0x12, 0x0c, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x50, 0x4b, 0x49, 0x48, 0x61,
0x73, 0x68, 0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x00,
0x12, 0x32, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f,
0x72, 0x64, 0x65, 0x72, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x0a, 0x2e, 0x73, 0x61, 0x2e,
0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x0a, 0x2e, 0x73, 0x61, 0x2e, 0x45, 0x78, 0x69, 0x73,
0x74, 0x73, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x46,
0x6f, 0x72, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x73, 0x61, 0x2e,
0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65,
0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x73, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x46,
0x6f, 0x72, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53,
0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x00, 0x30, 0x01, 0x12, 0x3d, 0x0a, 0x16, 0x43, 0x68, 0x65,
0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x50, 0x61, 0x75,
0x73, 0x65, 0x64, 0x12, 0x10, 0x2e, 0x73, 0x61, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x73, 0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50,
0x61, 0x75, 0x73, 0x65, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73,
0x12, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x49, 0x44, 0x1a, 0x0f, 0x2e, 0x73, 0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x66, 0x69, 0x65, 0x72, 0x73, 0x22, 0x00, 0x32, 0xa4, 0x1b, 0x0a, 0x10, 0x53, 0x74, 0x6f, 0x72,
0x61, 0x67, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x53, 0x0a, 0x18,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x42,
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e,
0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22,
0x00, 0x12, 0x36, 0x0a, 0x0d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x51, 0x44, 0x4e, 0x53, 0x65,
0x74, 0x73, 0x12, 0x18, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x51, 0x44,
0x4e, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x73,
0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x1b, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x49,
0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x00, 0x30,
0x01, 0x12, 0x3d, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x66, 0x69, 0x65, 0x72, 0x73, 0x50, 0x61, 0x75, 0x73, 0x65, 0x64, 0x12, 0x10, 0x2e, 0x73, 0x61,
0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e,
0x73, 0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x22, 0x00,
0x12, 0x3d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x61, 0x75, 0x73, 0x65, 0x64, 0x49, 0x64, 0x65,
0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x12, 0x12, 0x2e, 0x73, 0x61, 0x2e, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x1a, 0x0f, 0x2e, 0x73,
0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x22, 0x00, 0x32,
0xec, 0x1a, 0x0a, 0x10, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f,
0x72, 0x69, 0x74, 0x79, 0x12, 0x53, 0x0a, 0x18, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x65, 0x72,
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73,
0x12, 0x23, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69,
0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x1b, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x12, 0x25, 0x2e, 0x73, 0x61, 0x2e, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
@ -3754,171 +3747,167 @@ var file_sa_proto_depIdxs = []int32{
51, // 40: sa.Identifiers.identifiers:type_name -> core.Identifier
51, // 41: sa.PauseRequest.identifiers:type_name -> core.Identifier
9, // 42: sa.StorageAuthorityReadOnly.CountCertificatesByNames:input_type -> sa.CountCertificatesByNamesRequest
13, // 43: sa.StorageAuthorityReadOnly.CountFQDNSets:input_type -> sa.CountFQDNSetsRequest
11, // 44: sa.StorageAuthorityReadOnly.CountInvalidAuthorizations2:input_type -> sa.CountInvalidAuthorizationsRequest
12, // 45: sa.StorageAuthorityReadOnly.CountOrders:input_type -> sa.CountOrdersRequest
0, // 46: sa.StorageAuthorityReadOnly.CountPendingAuthorizations2:input_type -> sa.RegistrationID
14, // 47: sa.StorageAuthorityReadOnly.FQDNSetExists:input_type -> sa.FQDNSetExistsRequest
13, // 48: sa.StorageAuthorityReadOnly.FQDNSetTimestampsForWindow:input_type -> sa.CountFQDNSetsRequest
29, // 49: sa.StorageAuthorityReadOnly.GetAuthorization2:input_type -> sa.AuthorizationID2
26, // 50: sa.StorageAuthorityReadOnly.GetAuthorizations2:input_type -> sa.GetAuthorizationsRequest
4, // 51: sa.StorageAuthorityReadOnly.GetCertificate:input_type -> sa.Serial
4, // 52: sa.StorageAuthorityReadOnly.GetLintPrecertificate:input_type -> sa.Serial
4, // 53: sa.StorageAuthorityReadOnly.GetCertificateStatus:input_type -> sa.Serial
55, // 54: sa.StorageAuthorityReadOnly.GetMaxExpiration:input_type -> google.protobuf.Empty
18, // 55: sa.StorageAuthorityReadOnly.GetOrder:input_type -> sa.OrderRequest
24, // 56: sa.StorageAuthorityReadOnly.GetOrderForNames:input_type -> sa.GetOrderForNamesRequest
0, // 57: sa.StorageAuthorityReadOnly.GetRegistration:input_type -> sa.RegistrationID
1, // 58: sa.StorageAuthorityReadOnly.GetRegistrationByKey:input_type -> sa.JSONWebKey
4, // 59: sa.StorageAuthorityReadOnly.GetRevocationStatus:input_type -> sa.Serial
38, // 60: sa.StorageAuthorityReadOnly.GetRevokedCerts:input_type -> sa.GetRevokedCertsRequest
4, // 61: sa.StorageAuthorityReadOnly.GetSerialMetadata:input_type -> sa.Serial
0, // 62: sa.StorageAuthorityReadOnly.GetSerialsByAccount:input_type -> sa.RegistrationID
33, // 63: sa.StorageAuthorityReadOnly.GetSerialsByKey:input_type -> sa.SPKIHash
3, // 64: sa.StorageAuthorityReadOnly.GetValidAuthorizations2:input_type -> sa.GetValidAuthorizationsRequest
23, // 65: sa.StorageAuthorityReadOnly.GetValidOrderAuthorizations2:input_type -> sa.GetValidOrderAuthorizationsRequest
4, // 66: sa.StorageAuthorityReadOnly.IncidentsForSerial:input_type -> sa.Serial
33, // 67: sa.StorageAuthorityReadOnly.KeyBlocked:input_type -> sa.SPKIHash
4, // 68: sa.StorageAuthorityReadOnly.ReplacementOrderExists:input_type -> sa.Serial
36, // 69: sa.StorageAuthorityReadOnly.SerialsForIncident:input_type -> sa.SerialsForIncidentRequest
44, // 70: sa.StorageAuthorityReadOnly.CheckIdentifiersPaused:input_type -> sa.PauseRequest
0, // 71: sa.StorageAuthorityReadOnly.GetPausedIdentifiers:input_type -> sa.RegistrationID
9, // 72: sa.StorageAuthority.CountCertificatesByNames:input_type -> sa.CountCertificatesByNamesRequest
13, // 73: sa.StorageAuthority.CountFQDNSets:input_type -> sa.CountFQDNSetsRequest
11, // 74: sa.StorageAuthority.CountInvalidAuthorizations2:input_type -> sa.CountInvalidAuthorizationsRequest
12, // 75: sa.StorageAuthority.CountOrders:input_type -> sa.CountOrdersRequest
0, // 76: sa.StorageAuthority.CountPendingAuthorizations2:input_type -> sa.RegistrationID
14, // 77: sa.StorageAuthority.FQDNSetExists:input_type -> sa.FQDNSetExistsRequest
13, // 78: sa.StorageAuthority.FQDNSetTimestampsForWindow:input_type -> sa.CountFQDNSetsRequest
29, // 79: sa.StorageAuthority.GetAuthorization2:input_type -> sa.AuthorizationID2
26, // 80: sa.StorageAuthority.GetAuthorizations2:input_type -> sa.GetAuthorizationsRequest
4, // 81: sa.StorageAuthority.GetCertificate:input_type -> sa.Serial
4, // 82: sa.StorageAuthority.GetLintPrecertificate:input_type -> sa.Serial
4, // 83: sa.StorageAuthority.GetCertificateStatus:input_type -> sa.Serial
55, // 84: sa.StorageAuthority.GetMaxExpiration:input_type -> google.protobuf.Empty
18, // 85: sa.StorageAuthority.GetOrder:input_type -> sa.OrderRequest
24, // 86: sa.StorageAuthority.GetOrderForNames:input_type -> sa.GetOrderForNamesRequest
0, // 87: sa.StorageAuthority.GetRegistration:input_type -> sa.RegistrationID
1, // 88: sa.StorageAuthority.GetRegistrationByKey:input_type -> sa.JSONWebKey
4, // 89: sa.StorageAuthority.GetRevocationStatus:input_type -> sa.Serial
38, // 90: sa.StorageAuthority.GetRevokedCerts:input_type -> sa.GetRevokedCertsRequest
4, // 91: sa.StorageAuthority.GetSerialMetadata:input_type -> sa.Serial
0, // 92: sa.StorageAuthority.GetSerialsByAccount:input_type -> sa.RegistrationID
33, // 93: sa.StorageAuthority.GetSerialsByKey:input_type -> sa.SPKIHash
3, // 94: sa.StorageAuthority.GetValidAuthorizations2:input_type -> sa.GetValidAuthorizationsRequest
23, // 95: sa.StorageAuthority.GetValidOrderAuthorizations2:input_type -> sa.GetValidOrderAuthorizationsRequest
4, // 96: sa.StorageAuthority.IncidentsForSerial:input_type -> sa.Serial
33, // 97: sa.StorageAuthority.KeyBlocked:input_type -> sa.SPKIHash
4, // 98: sa.StorageAuthority.ReplacementOrderExists:input_type -> sa.Serial
36, // 99: sa.StorageAuthority.SerialsForIncident:input_type -> sa.SerialsForIncidentRequest
44, // 100: sa.StorageAuthority.CheckIdentifiersPaused:input_type -> sa.PauseRequest
0, // 101: sa.StorageAuthority.GetPausedIdentifiers:input_type -> sa.RegistrationID
32, // 102: sa.StorageAuthority.AddBlockedKey:input_type -> sa.AddBlockedKeyRequest
17, // 103: sa.StorageAuthority.AddCertificate:input_type -> sa.AddCertificateRequest
17, // 104: sa.StorageAuthority.AddPrecertificate:input_type -> sa.AddCertificateRequest
4, // 105: sa.StorageAuthority.SetCertificateStatusReady:input_type -> sa.Serial
16, // 106: sa.StorageAuthority.AddSerial:input_type -> sa.AddSerialRequest
29, // 107: sa.StorageAuthority.DeactivateAuthorization2:input_type -> sa.AuthorizationID2
0, // 108: sa.StorageAuthority.DeactivateRegistration:input_type -> sa.RegistrationID
31, // 109: sa.StorageAuthority.FinalizeAuthorization2:input_type -> sa.FinalizeAuthorizationRequest
25, // 110: sa.StorageAuthority.FinalizeOrder:input_type -> sa.FinalizeOrderRequest
21, // 111: sa.StorageAuthority.NewOrderAndAuthzs:input_type -> sa.NewOrderAndAuthzsRequest
56, // 112: sa.StorageAuthority.NewRegistration:input_type -> core.Registration
30, // 113: sa.StorageAuthority.RevokeCertificate:input_type -> sa.RevokeCertificateRequest
22, // 114: sa.StorageAuthority.SetOrderError:input_type -> sa.SetOrderErrorRequest
18, // 115: sa.StorageAuthority.SetOrderProcessing:input_type -> sa.OrderRequest
56, // 116: sa.StorageAuthority.UpdateRegistration:input_type -> core.Registration
46, // 117: sa.StorageAuthority.UpdateRegistrationContact:input_type -> sa.UpdateRegistrationContactRequest
47, // 118: sa.StorageAuthority.UpdateRegistrationKey:input_type -> sa.UpdateRegistrationKeyRequest
30, // 119: sa.StorageAuthority.UpdateRevokedCertificate:input_type -> sa.RevokeCertificateRequest
40, // 120: sa.StorageAuthority.LeaseCRLShard:input_type -> sa.LeaseCRLShardRequest
42, // 121: sa.StorageAuthority.UpdateCRLShard:input_type -> sa.UpdateCRLShardRequest
44, // 122: sa.StorageAuthority.PauseIdentifiers:input_type -> sa.PauseRequest
0, // 123: sa.StorageAuthority.UnpauseAccount:input_type -> sa.RegistrationID
10, // 124: sa.StorageAuthorityReadOnly.CountCertificatesByNames:output_type -> sa.CountByNames
7, // 125: sa.StorageAuthorityReadOnly.CountFQDNSets:output_type -> sa.Count
7, // 126: sa.StorageAuthorityReadOnly.CountInvalidAuthorizations2:output_type -> sa.Count
7, // 127: sa.StorageAuthorityReadOnly.CountOrders:output_type -> sa.Count
7, // 128: sa.StorageAuthorityReadOnly.CountPendingAuthorizations2:output_type -> sa.Count
15, // 129: sa.StorageAuthorityReadOnly.FQDNSetExists:output_type -> sa.Exists
8, // 130: sa.StorageAuthorityReadOnly.FQDNSetTimestampsForWindow:output_type -> sa.Timestamps
53, // 131: sa.StorageAuthorityReadOnly.GetAuthorization2:output_type -> core.Authorization
27, // 132: sa.StorageAuthorityReadOnly.GetAuthorizations2:output_type -> sa.Authorizations
57, // 133: sa.StorageAuthorityReadOnly.GetCertificate:output_type -> core.Certificate
57, // 134: sa.StorageAuthorityReadOnly.GetLintPrecertificate:output_type -> core.Certificate
58, // 135: sa.StorageAuthorityReadOnly.GetCertificateStatus:output_type -> core.CertificateStatus
49, // 136: sa.StorageAuthorityReadOnly.GetMaxExpiration:output_type -> google.protobuf.Timestamp
59, // 137: sa.StorageAuthorityReadOnly.GetOrder:output_type -> core.Order
59, // 138: sa.StorageAuthorityReadOnly.GetOrderForNames:output_type -> core.Order
56, // 139: sa.StorageAuthorityReadOnly.GetRegistration:output_type -> core.Registration
56, // 140: sa.StorageAuthorityReadOnly.GetRegistrationByKey:output_type -> core.Registration
39, // 141: sa.StorageAuthorityReadOnly.GetRevocationStatus:output_type -> sa.RevocationStatus
60, // 142: sa.StorageAuthorityReadOnly.GetRevokedCerts:output_type -> core.CRLEntry
5, // 143: sa.StorageAuthorityReadOnly.GetSerialMetadata:output_type -> sa.SerialMetadata
4, // 144: sa.StorageAuthorityReadOnly.GetSerialsByAccount:output_type -> sa.Serial
4, // 145: sa.StorageAuthorityReadOnly.GetSerialsByKey:output_type -> sa.Serial
27, // 146: sa.StorageAuthorityReadOnly.GetValidAuthorizations2:output_type -> sa.Authorizations
27, // 147: sa.StorageAuthorityReadOnly.GetValidOrderAuthorizations2:output_type -> sa.Authorizations
35, // 148: sa.StorageAuthorityReadOnly.IncidentsForSerial:output_type -> sa.Incidents
15, // 149: sa.StorageAuthorityReadOnly.KeyBlocked:output_type -> sa.Exists
15, // 150: sa.StorageAuthorityReadOnly.ReplacementOrderExists:output_type -> sa.Exists
37, // 151: sa.StorageAuthorityReadOnly.SerialsForIncident:output_type -> sa.IncidentSerial
43, // 152: sa.StorageAuthorityReadOnly.CheckIdentifiersPaused:output_type -> sa.Identifiers
43, // 153: sa.StorageAuthorityReadOnly.GetPausedIdentifiers:output_type -> sa.Identifiers
10, // 154: sa.StorageAuthority.CountCertificatesByNames:output_type -> sa.CountByNames
7, // 155: sa.StorageAuthority.CountFQDNSets:output_type -> sa.Count
7, // 156: sa.StorageAuthority.CountInvalidAuthorizations2:output_type -> sa.Count
7, // 157: sa.StorageAuthority.CountOrders:output_type -> sa.Count
7, // 158: sa.StorageAuthority.CountPendingAuthorizations2:output_type -> sa.Count
15, // 159: sa.StorageAuthority.FQDNSetExists:output_type -> sa.Exists
8, // 160: sa.StorageAuthority.FQDNSetTimestampsForWindow:output_type -> sa.Timestamps
53, // 161: sa.StorageAuthority.GetAuthorization2:output_type -> core.Authorization
27, // 162: sa.StorageAuthority.GetAuthorizations2:output_type -> sa.Authorizations
57, // 163: sa.StorageAuthority.GetCertificate:output_type -> core.Certificate
57, // 164: sa.StorageAuthority.GetLintPrecertificate:output_type -> core.Certificate
58, // 165: sa.StorageAuthority.GetCertificateStatus:output_type -> core.CertificateStatus
49, // 166: sa.StorageAuthority.GetMaxExpiration:output_type -> google.protobuf.Timestamp
59, // 167: sa.StorageAuthority.GetOrder:output_type -> core.Order
59, // 168: sa.StorageAuthority.GetOrderForNames:output_type -> core.Order
56, // 169: sa.StorageAuthority.GetRegistration:output_type -> core.Registration
56, // 170: sa.StorageAuthority.GetRegistrationByKey:output_type -> core.Registration
39, // 171: sa.StorageAuthority.GetRevocationStatus:output_type -> sa.RevocationStatus
60, // 172: sa.StorageAuthority.GetRevokedCerts:output_type -> core.CRLEntry
5, // 173: sa.StorageAuthority.GetSerialMetadata:output_type -> sa.SerialMetadata
4, // 174: sa.StorageAuthority.GetSerialsByAccount:output_type -> sa.Serial
4, // 175: sa.StorageAuthority.GetSerialsByKey:output_type -> sa.Serial
27, // 176: sa.StorageAuthority.GetValidAuthorizations2:output_type -> sa.Authorizations
27, // 177: sa.StorageAuthority.GetValidOrderAuthorizations2:output_type -> sa.Authorizations
35, // 178: sa.StorageAuthority.IncidentsForSerial:output_type -> sa.Incidents
15, // 179: sa.StorageAuthority.KeyBlocked:output_type -> sa.Exists
15, // 180: sa.StorageAuthority.ReplacementOrderExists:output_type -> sa.Exists
37, // 181: sa.StorageAuthority.SerialsForIncident:output_type -> sa.IncidentSerial
43, // 182: sa.StorageAuthority.CheckIdentifiersPaused:output_type -> sa.Identifiers
43, // 183: sa.StorageAuthority.GetPausedIdentifiers:output_type -> sa.Identifiers
55, // 184: sa.StorageAuthority.AddBlockedKey:output_type -> google.protobuf.Empty
55, // 185: sa.StorageAuthority.AddCertificate:output_type -> google.protobuf.Empty
55, // 186: sa.StorageAuthority.AddPrecertificate:output_type -> google.protobuf.Empty
55, // 187: sa.StorageAuthority.SetCertificateStatusReady:output_type -> google.protobuf.Empty
55, // 188: sa.StorageAuthority.AddSerial:output_type -> google.protobuf.Empty
55, // 189: sa.StorageAuthority.DeactivateAuthorization2:output_type -> google.protobuf.Empty
55, // 190: sa.StorageAuthority.DeactivateRegistration:output_type -> google.protobuf.Empty
55, // 191: sa.StorageAuthority.FinalizeAuthorization2:output_type -> google.protobuf.Empty
55, // 192: sa.StorageAuthority.FinalizeOrder:output_type -> google.protobuf.Empty
59, // 193: sa.StorageAuthority.NewOrderAndAuthzs:output_type -> core.Order
56, // 194: sa.StorageAuthority.NewRegistration:output_type -> core.Registration
55, // 195: sa.StorageAuthority.RevokeCertificate:output_type -> google.protobuf.Empty
55, // 196: sa.StorageAuthority.SetOrderError:output_type -> google.protobuf.Empty
55, // 197: sa.StorageAuthority.SetOrderProcessing:output_type -> google.protobuf.Empty
55, // 198: sa.StorageAuthority.UpdateRegistration:output_type -> google.protobuf.Empty
56, // 199: sa.StorageAuthority.UpdateRegistrationContact:output_type -> core.Registration
56, // 200: sa.StorageAuthority.UpdateRegistrationKey:output_type -> core.Registration
55, // 201: sa.StorageAuthority.UpdateRevokedCertificate:output_type -> google.protobuf.Empty
41, // 202: sa.StorageAuthority.LeaseCRLShard:output_type -> sa.LeaseCRLShardResponse
55, // 203: sa.StorageAuthority.UpdateCRLShard:output_type -> google.protobuf.Empty
45, // 204: sa.StorageAuthority.PauseIdentifiers:output_type -> sa.PauseIdentifiersResponse
7, // 205: sa.StorageAuthority.UnpauseAccount:output_type -> sa.Count
124, // [124:206] is the sub-list for method output_type
42, // [42:124] is the sub-list for method input_type
11, // 43: sa.StorageAuthorityReadOnly.CountInvalidAuthorizations2:input_type -> sa.CountInvalidAuthorizationsRequest
12, // 44: sa.StorageAuthorityReadOnly.CountOrders:input_type -> sa.CountOrdersRequest
0, // 45: sa.StorageAuthorityReadOnly.CountPendingAuthorizations2:input_type -> sa.RegistrationID
14, // 46: sa.StorageAuthorityReadOnly.FQDNSetExists:input_type -> sa.FQDNSetExistsRequest
13, // 47: sa.StorageAuthorityReadOnly.FQDNSetTimestampsForWindow:input_type -> sa.CountFQDNSetsRequest
29, // 48: sa.StorageAuthorityReadOnly.GetAuthorization2:input_type -> sa.AuthorizationID2
26, // 49: sa.StorageAuthorityReadOnly.GetAuthorizations2:input_type -> sa.GetAuthorizationsRequest
4, // 50: sa.StorageAuthorityReadOnly.GetCertificate:input_type -> sa.Serial
4, // 51: sa.StorageAuthorityReadOnly.GetLintPrecertificate:input_type -> sa.Serial
4, // 52: sa.StorageAuthorityReadOnly.GetCertificateStatus:input_type -> sa.Serial
55, // 53: sa.StorageAuthorityReadOnly.GetMaxExpiration:input_type -> google.protobuf.Empty
18, // 54: sa.StorageAuthorityReadOnly.GetOrder:input_type -> sa.OrderRequest
24, // 55: sa.StorageAuthorityReadOnly.GetOrderForNames:input_type -> sa.GetOrderForNamesRequest
0, // 56: sa.StorageAuthorityReadOnly.GetRegistration:input_type -> sa.RegistrationID
1, // 57: sa.StorageAuthorityReadOnly.GetRegistrationByKey:input_type -> sa.JSONWebKey
4, // 58: sa.StorageAuthorityReadOnly.GetRevocationStatus:input_type -> sa.Serial
38, // 59: sa.StorageAuthorityReadOnly.GetRevokedCerts:input_type -> sa.GetRevokedCertsRequest
4, // 60: sa.StorageAuthorityReadOnly.GetSerialMetadata:input_type -> sa.Serial
0, // 61: sa.StorageAuthorityReadOnly.GetSerialsByAccount:input_type -> sa.RegistrationID
33, // 62: sa.StorageAuthorityReadOnly.GetSerialsByKey:input_type -> sa.SPKIHash
3, // 63: sa.StorageAuthorityReadOnly.GetValidAuthorizations2:input_type -> sa.GetValidAuthorizationsRequest
23, // 64: sa.StorageAuthorityReadOnly.GetValidOrderAuthorizations2:input_type -> sa.GetValidOrderAuthorizationsRequest
4, // 65: sa.StorageAuthorityReadOnly.IncidentsForSerial:input_type -> sa.Serial
33, // 66: sa.StorageAuthorityReadOnly.KeyBlocked:input_type -> sa.SPKIHash
4, // 67: sa.StorageAuthorityReadOnly.ReplacementOrderExists:input_type -> sa.Serial
36, // 68: sa.StorageAuthorityReadOnly.SerialsForIncident:input_type -> sa.SerialsForIncidentRequest
44, // 69: sa.StorageAuthorityReadOnly.CheckIdentifiersPaused:input_type -> sa.PauseRequest
0, // 70: sa.StorageAuthorityReadOnly.GetPausedIdentifiers:input_type -> sa.RegistrationID
9, // 71: sa.StorageAuthority.CountCertificatesByNames:input_type -> sa.CountCertificatesByNamesRequest
11, // 72: sa.StorageAuthority.CountInvalidAuthorizations2:input_type -> sa.CountInvalidAuthorizationsRequest
12, // 73: sa.StorageAuthority.CountOrders:input_type -> sa.CountOrdersRequest
0, // 74: sa.StorageAuthority.CountPendingAuthorizations2:input_type -> sa.RegistrationID
14, // 75: sa.StorageAuthority.FQDNSetExists:input_type -> sa.FQDNSetExistsRequest
13, // 76: sa.StorageAuthority.FQDNSetTimestampsForWindow:input_type -> sa.CountFQDNSetsRequest
29, // 77: sa.StorageAuthority.GetAuthorization2:input_type -> sa.AuthorizationID2
26, // 78: sa.StorageAuthority.GetAuthorizations2:input_type -> sa.GetAuthorizationsRequest
4, // 79: sa.StorageAuthority.GetCertificate:input_type -> sa.Serial
4, // 80: sa.StorageAuthority.GetLintPrecertificate:input_type -> sa.Serial
4, // 81: sa.StorageAuthority.GetCertificateStatus:input_type -> sa.Serial
55, // 82: sa.StorageAuthority.GetMaxExpiration:input_type -> google.protobuf.Empty
18, // 83: sa.StorageAuthority.GetOrder:input_type -> sa.OrderRequest
24, // 84: sa.StorageAuthority.GetOrderForNames:input_type -> sa.GetOrderForNamesRequest
0, // 85: sa.StorageAuthority.GetRegistration:input_type -> sa.RegistrationID
1, // 86: sa.StorageAuthority.GetRegistrationByKey:input_type -> sa.JSONWebKey
4, // 87: sa.StorageAuthority.GetRevocationStatus:input_type -> sa.Serial
38, // 88: sa.StorageAuthority.GetRevokedCerts:input_type -> sa.GetRevokedCertsRequest
4, // 89: sa.StorageAuthority.GetSerialMetadata:input_type -> sa.Serial
0, // 90: sa.StorageAuthority.GetSerialsByAccount:input_type -> sa.RegistrationID
33, // 91: sa.StorageAuthority.GetSerialsByKey:input_type -> sa.SPKIHash
3, // 92: sa.StorageAuthority.GetValidAuthorizations2:input_type -> sa.GetValidAuthorizationsRequest
23, // 93: sa.StorageAuthority.GetValidOrderAuthorizations2:input_type -> sa.GetValidOrderAuthorizationsRequest
4, // 94: sa.StorageAuthority.IncidentsForSerial:input_type -> sa.Serial
33, // 95: sa.StorageAuthority.KeyBlocked:input_type -> sa.SPKIHash
4, // 96: sa.StorageAuthority.ReplacementOrderExists:input_type -> sa.Serial
36, // 97: sa.StorageAuthority.SerialsForIncident:input_type -> sa.SerialsForIncidentRequest
44, // 98: sa.StorageAuthority.CheckIdentifiersPaused:input_type -> sa.PauseRequest
0, // 99: sa.StorageAuthority.GetPausedIdentifiers:input_type -> sa.RegistrationID
32, // 100: sa.StorageAuthority.AddBlockedKey:input_type -> sa.AddBlockedKeyRequest
17, // 101: sa.StorageAuthority.AddCertificate:input_type -> sa.AddCertificateRequest
17, // 102: sa.StorageAuthority.AddPrecertificate:input_type -> sa.AddCertificateRequest
4, // 103: sa.StorageAuthority.SetCertificateStatusReady:input_type -> sa.Serial
16, // 104: sa.StorageAuthority.AddSerial:input_type -> sa.AddSerialRequest
29, // 105: sa.StorageAuthority.DeactivateAuthorization2:input_type -> sa.AuthorizationID2
0, // 106: sa.StorageAuthority.DeactivateRegistration:input_type -> sa.RegistrationID
31, // 107: sa.StorageAuthority.FinalizeAuthorization2:input_type -> sa.FinalizeAuthorizationRequest
25, // 108: sa.StorageAuthority.FinalizeOrder:input_type -> sa.FinalizeOrderRequest
21, // 109: sa.StorageAuthority.NewOrderAndAuthzs:input_type -> sa.NewOrderAndAuthzsRequest
56, // 110: sa.StorageAuthority.NewRegistration:input_type -> core.Registration
30, // 111: sa.StorageAuthority.RevokeCertificate:input_type -> sa.RevokeCertificateRequest
22, // 112: sa.StorageAuthority.SetOrderError:input_type -> sa.SetOrderErrorRequest
18, // 113: sa.StorageAuthority.SetOrderProcessing:input_type -> sa.OrderRequest
56, // 114: sa.StorageAuthority.UpdateRegistration:input_type -> core.Registration
46, // 115: sa.StorageAuthority.UpdateRegistrationContact:input_type -> sa.UpdateRegistrationContactRequest
47, // 116: sa.StorageAuthority.UpdateRegistrationKey:input_type -> sa.UpdateRegistrationKeyRequest
30, // 117: sa.StorageAuthority.UpdateRevokedCertificate:input_type -> sa.RevokeCertificateRequest
40, // 118: sa.StorageAuthority.LeaseCRLShard:input_type -> sa.LeaseCRLShardRequest
42, // 119: sa.StorageAuthority.UpdateCRLShard:input_type -> sa.UpdateCRLShardRequest
44, // 120: sa.StorageAuthority.PauseIdentifiers:input_type -> sa.PauseRequest
0, // 121: sa.StorageAuthority.UnpauseAccount:input_type -> sa.RegistrationID
10, // 122: sa.StorageAuthorityReadOnly.CountCertificatesByNames:output_type -> sa.CountByNames
7, // 123: sa.StorageAuthorityReadOnly.CountInvalidAuthorizations2:output_type -> sa.Count
7, // 124: sa.StorageAuthorityReadOnly.CountOrders:output_type -> sa.Count
7, // 125: sa.StorageAuthorityReadOnly.CountPendingAuthorizations2:output_type -> sa.Count
15, // 126: sa.StorageAuthorityReadOnly.FQDNSetExists:output_type -> sa.Exists
8, // 127: sa.StorageAuthorityReadOnly.FQDNSetTimestampsForWindow:output_type -> sa.Timestamps
53, // 128: sa.StorageAuthorityReadOnly.GetAuthorization2:output_type -> core.Authorization
27, // 129: sa.StorageAuthorityReadOnly.GetAuthorizations2:output_type -> sa.Authorizations
57, // 130: sa.StorageAuthorityReadOnly.GetCertificate:output_type -> core.Certificate
57, // 131: sa.StorageAuthorityReadOnly.GetLintPrecertificate:output_type -> core.Certificate
58, // 132: sa.StorageAuthorityReadOnly.GetCertificateStatus:output_type -> core.CertificateStatus
49, // 133: sa.StorageAuthorityReadOnly.GetMaxExpiration:output_type -> google.protobuf.Timestamp
59, // 134: sa.StorageAuthorityReadOnly.GetOrder:output_type -> core.Order
59, // 135: sa.StorageAuthorityReadOnly.GetOrderForNames:output_type -> core.Order
56, // 136: sa.StorageAuthorityReadOnly.GetRegistration:output_type -> core.Registration
56, // 137: sa.StorageAuthorityReadOnly.GetRegistrationByKey:output_type -> core.Registration
39, // 138: sa.StorageAuthorityReadOnly.GetRevocationStatus:output_type -> sa.RevocationStatus
60, // 139: sa.StorageAuthorityReadOnly.GetRevokedCerts:output_type -> core.CRLEntry
5, // 140: sa.StorageAuthorityReadOnly.GetSerialMetadata:output_type -> sa.SerialMetadata
4, // 141: sa.StorageAuthorityReadOnly.GetSerialsByAccount:output_type -> sa.Serial
4, // 142: sa.StorageAuthorityReadOnly.GetSerialsByKey:output_type -> sa.Serial
27, // 143: sa.StorageAuthorityReadOnly.GetValidAuthorizations2:output_type -> sa.Authorizations
27, // 144: sa.StorageAuthorityReadOnly.GetValidOrderAuthorizations2:output_type -> sa.Authorizations
35, // 145: sa.StorageAuthorityReadOnly.IncidentsForSerial:output_type -> sa.Incidents
15, // 146: sa.StorageAuthorityReadOnly.KeyBlocked:output_type -> sa.Exists
15, // 147: sa.StorageAuthorityReadOnly.ReplacementOrderExists:output_type -> sa.Exists
37, // 148: sa.StorageAuthorityReadOnly.SerialsForIncident:output_type -> sa.IncidentSerial
43, // 149: sa.StorageAuthorityReadOnly.CheckIdentifiersPaused:output_type -> sa.Identifiers
43, // 150: sa.StorageAuthorityReadOnly.GetPausedIdentifiers:output_type -> sa.Identifiers
10, // 151: sa.StorageAuthority.CountCertificatesByNames:output_type -> sa.CountByNames
7, // 152: sa.StorageAuthority.CountInvalidAuthorizations2:output_type -> sa.Count
7, // 153: sa.StorageAuthority.CountOrders:output_type -> sa.Count
7, // 154: sa.StorageAuthority.CountPendingAuthorizations2:output_type -> sa.Count
15, // 155: sa.StorageAuthority.FQDNSetExists:output_type -> sa.Exists
8, // 156: sa.StorageAuthority.FQDNSetTimestampsForWindow:output_type -> sa.Timestamps
53, // 157: sa.StorageAuthority.GetAuthorization2:output_type -> core.Authorization
27, // 158: sa.StorageAuthority.GetAuthorizations2:output_type -> sa.Authorizations
57, // 159: sa.StorageAuthority.GetCertificate:output_type -> core.Certificate
57, // 160: sa.StorageAuthority.GetLintPrecertificate:output_type -> core.Certificate
58, // 161: sa.StorageAuthority.GetCertificateStatus:output_type -> core.CertificateStatus
49, // 162: sa.StorageAuthority.GetMaxExpiration:output_type -> google.protobuf.Timestamp
59, // 163: sa.StorageAuthority.GetOrder:output_type -> core.Order
59, // 164: sa.StorageAuthority.GetOrderForNames:output_type -> core.Order
56, // 165: sa.StorageAuthority.GetRegistration:output_type -> core.Registration
56, // 166: sa.StorageAuthority.GetRegistrationByKey:output_type -> core.Registration
39, // 167: sa.StorageAuthority.GetRevocationStatus:output_type -> sa.RevocationStatus
60, // 168: sa.StorageAuthority.GetRevokedCerts:output_type -> core.CRLEntry
5, // 169: sa.StorageAuthority.GetSerialMetadata:output_type -> sa.SerialMetadata
4, // 170: sa.StorageAuthority.GetSerialsByAccount:output_type -> sa.Serial
4, // 171: sa.StorageAuthority.GetSerialsByKey:output_type -> sa.Serial
27, // 172: sa.StorageAuthority.GetValidAuthorizations2:output_type -> sa.Authorizations
27, // 173: sa.StorageAuthority.GetValidOrderAuthorizations2:output_type -> sa.Authorizations
35, // 174: sa.StorageAuthority.IncidentsForSerial:output_type -> sa.Incidents
15, // 175: sa.StorageAuthority.KeyBlocked:output_type -> sa.Exists
15, // 176: sa.StorageAuthority.ReplacementOrderExists:output_type -> sa.Exists
37, // 177: sa.StorageAuthority.SerialsForIncident:output_type -> sa.IncidentSerial
43, // 178: sa.StorageAuthority.CheckIdentifiersPaused:output_type -> sa.Identifiers
43, // 179: sa.StorageAuthority.GetPausedIdentifiers:output_type -> sa.Identifiers
55, // 180: sa.StorageAuthority.AddBlockedKey:output_type -> google.protobuf.Empty
55, // 181: sa.StorageAuthority.AddCertificate:output_type -> google.protobuf.Empty
55, // 182: sa.StorageAuthority.AddPrecertificate:output_type -> google.protobuf.Empty
55, // 183: sa.StorageAuthority.SetCertificateStatusReady:output_type -> google.protobuf.Empty
55, // 184: sa.StorageAuthority.AddSerial:output_type -> google.protobuf.Empty
55, // 185: sa.StorageAuthority.DeactivateAuthorization2:output_type -> google.protobuf.Empty
55, // 186: sa.StorageAuthority.DeactivateRegistration:output_type -> google.protobuf.Empty
55, // 187: sa.StorageAuthority.FinalizeAuthorization2:output_type -> google.protobuf.Empty
55, // 188: sa.StorageAuthority.FinalizeOrder:output_type -> google.protobuf.Empty
59, // 189: sa.StorageAuthority.NewOrderAndAuthzs:output_type -> core.Order
56, // 190: sa.StorageAuthority.NewRegistration:output_type -> core.Registration
55, // 191: sa.StorageAuthority.RevokeCertificate:output_type -> google.protobuf.Empty
55, // 192: sa.StorageAuthority.SetOrderError:output_type -> google.protobuf.Empty
55, // 193: sa.StorageAuthority.SetOrderProcessing:output_type -> google.protobuf.Empty
55, // 194: sa.StorageAuthority.UpdateRegistration:output_type -> google.protobuf.Empty
56, // 195: sa.StorageAuthority.UpdateRegistrationContact:output_type -> core.Registration
56, // 196: sa.StorageAuthority.UpdateRegistrationKey:output_type -> core.Registration
55, // 197: sa.StorageAuthority.UpdateRevokedCertificate:output_type -> google.protobuf.Empty
41, // 198: sa.StorageAuthority.LeaseCRLShard:output_type -> sa.LeaseCRLShardResponse
55, // 199: sa.StorageAuthority.UpdateCRLShard:output_type -> google.protobuf.Empty
45, // 200: sa.StorageAuthority.PauseIdentifiers:output_type -> sa.PauseIdentifiersResponse
7, // 201: sa.StorageAuthority.UnpauseAccount:output_type -> sa.Count
122, // [122:202] is the sub-list for method output_type
42, // [42:122] is the sub-list for method input_type
42, // [42:42] is the sub-list for extension type_name
42, // [42:42] is the sub-list for extension extendee
0, // [0:42] is the sub-list for field type_name

View File

@ -11,7 +11,6 @@ import "google/protobuf/duration.proto";
// StorageAuthorityReadOnly exposes only those SA methods which are read-only.
service StorageAuthorityReadOnly {
rpc CountCertificatesByNames(CountCertificatesByNamesRequest) returns (CountByNames) {}
rpc CountFQDNSets(CountFQDNSetsRequest) returns (Count) {}
rpc CountInvalidAuthorizations2(CountInvalidAuthorizationsRequest) returns (Count) {}
rpc CountOrders(CountOrdersRequest) returns (Count) {}
rpc CountPendingAuthorizations2(RegistrationID) returns (Count) {}
@ -46,7 +45,6 @@ service StorageAuthorityReadOnly {
service StorageAuthority {
// Getters: this list must be identical to the StorageAuthorityReadOnly rpcs.
rpc CountCertificatesByNames(CountCertificatesByNamesRequest) returns (CountByNames) {}
rpc CountFQDNSets(CountFQDNSetsRequest) returns (Count) {}
rpc CountInvalidAuthorizations2(CountInvalidAuthorizationsRequest) returns (Count) {}
rpc CountOrders(CountOrdersRequest) returns (Count) {}
rpc CountPendingAuthorizations2(RegistrationID) returns (Count) {}

View File

@ -23,7 +23,6 @@ const _ = grpc.SupportPackageIsVersion9
const (
StorageAuthorityReadOnly_CountCertificatesByNames_FullMethodName = "/sa.StorageAuthorityReadOnly/CountCertificatesByNames"
StorageAuthorityReadOnly_CountFQDNSets_FullMethodName = "/sa.StorageAuthorityReadOnly/CountFQDNSets"
StorageAuthorityReadOnly_CountInvalidAuthorizations2_FullMethodName = "/sa.StorageAuthorityReadOnly/CountInvalidAuthorizations2"
StorageAuthorityReadOnly_CountOrders_FullMethodName = "/sa.StorageAuthorityReadOnly/CountOrders"
StorageAuthorityReadOnly_CountPendingAuthorizations2_FullMethodName = "/sa.StorageAuthorityReadOnly/CountPendingAuthorizations2"
@ -59,7 +58,6 @@ const (
// 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 StorageAuthorityReadOnlyClient interface {
CountCertificatesByNames(ctx context.Context, in *CountCertificatesByNamesRequest, opts ...grpc.CallOption) (*CountByNames, error)
CountFQDNSets(ctx context.Context, in *CountFQDNSetsRequest, opts ...grpc.CallOption) (*Count, error)
CountInvalidAuthorizations2(ctx context.Context, in *CountInvalidAuthorizationsRequest, opts ...grpc.CallOption) (*Count, error)
CountOrders(ctx context.Context, in *CountOrdersRequest, opts ...grpc.CallOption) (*Count, error)
CountPendingAuthorizations2(ctx context.Context, in *RegistrationID, opts ...grpc.CallOption) (*Count, error)
@ -108,16 +106,6 @@ func (c *storageAuthorityReadOnlyClient) CountCertificatesByNames(ctx context.Co
return out, nil
}
func (c *storageAuthorityReadOnlyClient) CountFQDNSets(ctx context.Context, in *CountFQDNSetsRequest, opts ...grpc.CallOption) (*Count, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Count)
err := c.cc.Invoke(ctx, StorageAuthorityReadOnly_CountFQDNSets_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *storageAuthorityReadOnlyClient) CountInvalidAuthorizations2(ctx context.Context, in *CountInvalidAuthorizationsRequest, opts ...grpc.CallOption) (*Count, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Count)
@ -439,7 +427,6 @@ func (c *storageAuthorityReadOnlyClient) GetPausedIdentifiers(ctx context.Contex
// for forward compatibility
type StorageAuthorityReadOnlyServer interface {
CountCertificatesByNames(context.Context, *CountCertificatesByNamesRequest) (*CountByNames, error)
CountFQDNSets(context.Context, *CountFQDNSetsRequest) (*Count, error)
CountInvalidAuthorizations2(context.Context, *CountInvalidAuthorizationsRequest) (*Count, error)
CountOrders(context.Context, *CountOrdersRequest) (*Count, error)
CountPendingAuthorizations2(context.Context, *RegistrationID) (*Count, error)
@ -478,9 +465,6 @@ type UnimplementedStorageAuthorityReadOnlyServer struct {
func (UnimplementedStorageAuthorityReadOnlyServer) CountCertificatesByNames(context.Context, *CountCertificatesByNamesRequest) (*CountByNames, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountCertificatesByNames not implemented")
}
func (UnimplementedStorageAuthorityReadOnlyServer) CountFQDNSets(context.Context, *CountFQDNSetsRequest) (*Count, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountFQDNSets not implemented")
}
func (UnimplementedStorageAuthorityReadOnlyServer) CountInvalidAuthorizations2(context.Context, *CountInvalidAuthorizationsRequest) (*Count, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountInvalidAuthorizations2 not implemented")
}
@ -597,24 +581,6 @@ func _StorageAuthorityReadOnly_CountCertificatesByNames_Handler(srv interface{},
return interceptor(ctx, in, info, handler)
}
func _StorageAuthorityReadOnly_CountFQDNSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountFQDNSetsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StorageAuthorityReadOnlyServer).CountFQDNSets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: StorageAuthorityReadOnly_CountFQDNSets_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StorageAuthorityReadOnlyServer).CountFQDNSets(ctx, req.(*CountFQDNSetsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StorageAuthorityReadOnly_CountInvalidAuthorizations2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountInvalidAuthorizationsRequest)
if err := dec(in); err != nil {
@ -1102,10 +1068,6 @@ var StorageAuthorityReadOnly_ServiceDesc = grpc.ServiceDesc{
MethodName: "CountCertificatesByNames",
Handler: _StorageAuthorityReadOnly_CountCertificatesByNames_Handler,
},
{
MethodName: "CountFQDNSets",
Handler: _StorageAuthorityReadOnly_CountFQDNSets_Handler,
},
{
MethodName: "CountInvalidAuthorizations2",
Handler: _StorageAuthorityReadOnly_CountInvalidAuthorizations2_Handler,
@ -1230,7 +1192,6 @@ var StorageAuthorityReadOnly_ServiceDesc = grpc.ServiceDesc{
const (
StorageAuthority_CountCertificatesByNames_FullMethodName = "/sa.StorageAuthority/CountCertificatesByNames"
StorageAuthority_CountFQDNSets_FullMethodName = "/sa.StorageAuthority/CountFQDNSets"
StorageAuthority_CountInvalidAuthorizations2_FullMethodName = "/sa.StorageAuthority/CountInvalidAuthorizations2"
StorageAuthority_CountOrders_FullMethodName = "/sa.StorageAuthority/CountOrders"
StorageAuthority_CountPendingAuthorizations2_FullMethodName = "/sa.StorageAuthority/CountPendingAuthorizations2"
@ -1289,7 +1250,6 @@ const (
type StorageAuthorityClient interface {
// Getters: this list must be identical to the StorageAuthorityReadOnly rpcs.
CountCertificatesByNames(ctx context.Context, in *CountCertificatesByNamesRequest, opts ...grpc.CallOption) (*CountByNames, error)
CountFQDNSets(ctx context.Context, in *CountFQDNSetsRequest, opts ...grpc.CallOption) (*Count, error)
CountInvalidAuthorizations2(ctx context.Context, in *CountInvalidAuthorizationsRequest, opts ...grpc.CallOption) (*Count, error)
CountOrders(ctx context.Context, in *CountOrdersRequest, opts ...grpc.CallOption) (*Count, error)
CountPendingAuthorizations2(ctx context.Context, in *RegistrationID, opts ...grpc.CallOption) (*Count, error)
@ -1361,16 +1321,6 @@ func (c *storageAuthorityClient) CountCertificatesByNames(ctx context.Context, i
return out, nil
}
func (c *storageAuthorityClient) CountFQDNSets(ctx context.Context, in *CountFQDNSetsRequest, opts ...grpc.CallOption) (*Count, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Count)
err := c.cc.Invoke(ctx, StorageAuthority_CountFQDNSets_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *storageAuthorityClient) CountInvalidAuthorizations2(ctx context.Context, in *CountInvalidAuthorizationsRequest, opts ...grpc.CallOption) (*Count, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Count)
@ -1913,7 +1863,6 @@ func (c *storageAuthorityClient) UnpauseAccount(ctx context.Context, in *Registr
type StorageAuthorityServer interface {
// Getters: this list must be identical to the StorageAuthorityReadOnly rpcs.
CountCertificatesByNames(context.Context, *CountCertificatesByNamesRequest) (*CountByNames, error)
CountFQDNSets(context.Context, *CountFQDNSetsRequest) (*Count, error)
CountInvalidAuthorizations2(context.Context, *CountInvalidAuthorizationsRequest) (*Count, error)
CountOrders(context.Context, *CountOrdersRequest) (*Count, error)
CountPendingAuthorizations2(context.Context, *RegistrationID) (*Count, error)
@ -1975,9 +1924,6 @@ type UnimplementedStorageAuthorityServer struct {
func (UnimplementedStorageAuthorityServer) CountCertificatesByNames(context.Context, *CountCertificatesByNamesRequest) (*CountByNames, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountCertificatesByNames not implemented")
}
func (UnimplementedStorageAuthorityServer) CountFQDNSets(context.Context, *CountFQDNSetsRequest) (*Count, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountFQDNSets not implemented")
}
func (UnimplementedStorageAuthorityServer) CountInvalidAuthorizations2(context.Context, *CountInvalidAuthorizationsRequest) (*Count, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountInvalidAuthorizations2 not implemented")
}
@ -2159,24 +2105,6 @@ func _StorageAuthority_CountCertificatesByNames_Handler(srv interface{}, ctx con
return interceptor(ctx, in, info, handler)
}
func _StorageAuthority_CountFQDNSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountFQDNSetsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StorageAuthorityServer).CountFQDNSets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: StorageAuthority_CountFQDNSets_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StorageAuthorityServer).CountFQDNSets(ctx, req.(*CountFQDNSetsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StorageAuthority_CountInvalidAuthorizations2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountInvalidAuthorizationsRequest)
if err := dec(in); err != nil {
@ -3060,10 +2988,6 @@ var StorageAuthority_ServiceDesc = grpc.ServiceDesc{
MethodName: "CountCertificatesByNames",
Handler: _StorageAuthority_CountCertificatesByNames_Handler,
},
{
MethodName: "CountFQDNSets",
Handler: _StorageAuthority_CountFQDNSets_Handler,
},
{
MethodName: "CountInvalidAuthorizations2",
Handler: _StorageAuthority_CountInvalidAuthorizations2_Handler,

View File

@ -737,77 +737,6 @@ func TestCountCertificatesByNamesParallel(t *testing.T) {
}
}
func TestFQDNSets(t *testing.T) {
ctx := context.Background()
sa, fc, cleanUp := initSA(t)
defer cleanUp()
tx, err := sa.dbMap.BeginTx(ctx)
test.AssertNotError(t, err, "Failed to open transaction")
names := []string{"a.example.com", "B.example.com"}
expires := fc.Now().Add(time.Hour * 2).UTC()
issued := fc.Now()
err = addFQDNSet(ctx, tx, names, "serial", issued, expires)
test.AssertNotError(t, err, "Failed to add name set")
test.AssertNotError(t, tx.Commit(), "Failed to commit transaction")
// Invalid Window
req := &sapb.CountFQDNSetsRequest{
DnsNames: names,
Window: nil,
}
_, err = sa.CountFQDNSets(ctx, req)
test.AssertErrorIs(t, err, errIncompleteRequest)
threeHours := time.Hour * 3
req = &sapb.CountFQDNSetsRequest{
DnsNames: names,
Window: durationpb.New(threeHours),
}
// only one valid
count, err := sa.CountFQDNSets(ctx, req)
test.AssertNotError(t, err, "Failed to count name sets")
test.AssertEquals(t, count.Count, int64(1))
// check hash isn't affected by changing name order/casing
req.DnsNames = []string{"b.example.com", "A.example.COM"}
count, err = sa.CountFQDNSets(ctx, req)
test.AssertNotError(t, err, "Failed to count name sets")
test.AssertEquals(t, count.Count, int64(1))
// add another valid set
tx, err = sa.dbMap.BeginTx(ctx)
test.AssertNotError(t, err, "Failed to open transaction")
err = addFQDNSet(ctx, tx, names, "anotherSerial", issued, expires)
test.AssertNotError(t, err, "Failed to add name set")
test.AssertNotError(t, tx.Commit(), "Failed to commit transaction")
// only two valid
req.DnsNames = names
count, err = sa.CountFQDNSets(ctx, req)
test.AssertNotError(t, err, "Failed to count name sets")
test.AssertEquals(t, count.Count, int64(2))
// add an expired set
tx, err = sa.dbMap.BeginTx(ctx)
test.AssertNotError(t, err, "Failed to open transaction")
err = addFQDNSet(
ctx,
tx,
names,
"yetAnotherSerial",
issued.Add(-threeHours),
expires.Add(-threeHours),
)
test.AssertNotError(t, err, "Failed to add name set")
test.AssertNotError(t, tx.Commit(), "Failed to commit transaction")
// only two valid
count, err = sa.CountFQDNSets(ctx, req)
test.AssertNotError(t, err, "Failed to count name sets")
test.AssertEquals(t, count.Count, int64(2))
}
func TestFQDNSetTimestampsForWindow(t *testing.T) {
sa, fc, cleanUp := initSA(t)
defer cleanUp()

View File

@ -431,26 +431,6 @@ func (ssa *SQLStorageAuthorityRO) CountOrders(ctx context.Context, req *sapb.Cou
return countNewOrders(ctx, ssa.dbReadOnlyMap, req)
}
// CountFQDNSets counts the total number of issuances, for a set of domains,
// that occurred during a given window of time.
func (ssa *SQLStorageAuthorityRO) CountFQDNSets(ctx context.Context, req *sapb.CountFQDNSetsRequest) (*sapb.Count, error) {
if core.IsAnyNilOrZero(req.Window) || len(req.DnsNames) == 0 {
return nil, errIncompleteRequest
}
var count int64
err := ssa.dbReadOnlyMap.SelectOne(
ctx,
&count,
`SELECT COUNT(*) FROM fqdnSets
WHERE setHash = ?
AND issued > ?`,
core.HashNames(req.DnsNames),
ssa.clk.Now().Add(-req.Window.AsDuration()),
)
return &sapb.Count{Count: count}, err
}
// FQDNSetTimestampsForWindow returns the issuance timestamps for each
// certificate, issued for a set of domains, during a given window of time,
// starting from the most recent issuance.