Debian Codegraph @

service-protos/rekor/v2/hashedrekord.proto

raw
1 // Copyright 2025 The Sigstore Authors
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 syntax = "proto3";
16 package dev.sigstore.rekor.v2;
17
18 import "google/api/field_behavior.proto";
19 import "sigstore_common.proto";
20
21 import "rekor/v2/verifier.proto";
22
23 option go_package = "github.com/sigstore/protobuf-specs/gen/pb-go/rekor/v2";
24
25 option java_package = "dev.sigstore.proto.rekor.v2";
26 option java_multiple_files = true;
27 option java_outer_classname = "RekorV2HashedRekord";
28 option ruby_package = "Sigstore::Rekor::V2";
29
30 // A request to add a hashedrekord v0.0.2 to the log
31 message HashedRekordRequestV002 {
32 // The hashed data
33 bytes digest = 1 [(google.api.field_behavior) = REQUIRED];
34 // A single signature over the hashed data with the verifier needed to validate it
35 Signature signature = 2 [(google.api.field_behavior) = REQUIRED];
36 }
37
38 message HashedRekordLogEntryV002 {
39 // The hashed data
40 dev.sigstore.common.v1.HashOutput data = 1 [(google.api.field_behavior) = REQUIRED];
41 // A single signature over the hashed data with the verifier needed to validate it
42 Signature signature = 2 [(google.api.field_behavior) = REQUIRED];
43 }