| 1 |
// This file is @generated by prost-build. |
| 2 |
#[derive( |
| 3 |
sigstore_protobuf_specs_derive::Deserialize_proto, |
| 4 |
sigstore_protobuf_specs_derive::Serialize_proto |
| 5 |
)] |
| 6 |
#[derive(::prost_reflect::ReflectMessage)] |
| 7 |
#[prost_reflect(message_name = "io.intoto.Envelope")] |
| 8 |
#[prost_reflect(file_descriptor_set_bytes = "crate::FILE_DESCRIPTOR_SET_BYTES")] |
| 9 |
#[derive(Clone, PartialEq, ::prost::Message)] |
| 10 |
pub struct Envelope { |
| 11 |
#[prost(bytes = "vec", tag = "1")] |
| 12 |
pub payload: ::prost::alloc::vec::Vec<u8>, |
| 13 |
#[prost(string, tag = "2")] |
| 14 |
pub payload_type: ::prost::alloc::string::String, |
| 15 |
#[prost(message, repeated, tag = "3")] |
| 16 |
pub signatures: ::prost::alloc::vec::Vec<Signature>, |
| 17 |
} |
| 18 |
#[derive( |
| 19 |
sigstore_protobuf_specs_derive::Deserialize_proto, |
| 20 |
sigstore_protobuf_specs_derive::Serialize_proto |
| 21 |
)] |
| 22 |
#[derive(::prost_reflect::ReflectMessage)] |
| 23 |
#[prost_reflect(message_name = "io.intoto.Signature")] |
| 24 |
#[prost_reflect(file_descriptor_set_bytes = "crate::FILE_DESCRIPTOR_SET_BYTES")] |
| 25 |
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
| 26 |
pub struct Signature { |
| 27 |
/// Signature itself. (In JSON, this is encoded as base64.) |
| 28 |
/// REQUIRED. |
| 29 |
#[prost(bytes = "vec", tag = "1")] |
| 30 |
pub sig: ::prost::alloc::vec::Vec<u8>, |
| 31 |
/// *Unauthenticated* hint identifying which public key was used. |
| 32 |
/// OPTIONAL. |
| 33 |
#[prost(string, tag = "2")] |
| 34 |
pub keyid: ::prost::alloc::string::String, |
| 35 |
} |