1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
#[derive(Clone, PartialEq, ::prost::Message)] pub struct TrustedKeyAddedEvent { #[prost(message, optional, tag = "1")] pub public_key: ::core::option::Option<PublicKey>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrustedKeyRemovedEvent { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeyManagerAddedEvent { #[prost(message, optional, tag = "1")] pub public_key: ::core::option::Option<PublicKey>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeyManagerRemovedEvent { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CredentialsAddedEvent { #[prost(message, optional, tag = "1")] pub credentials: ::core::option::Option<Credentials>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CredentialsRemovedEvent { #[prost(string, tag = "1")] pub identifier: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicKey { #[prost(string, tag = "1")] pub public_key: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub name: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Credentials { #[prost(string, tag = "1")] pub identifier: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub secret: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] pub signature: ::core::option::Option<Signature>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Signature { #[prost(string, tag = "1")] pub format: ::prost::alloc::string::String, #[prost(bytes = "vec", tag = "2")] pub blob: ::prost::alloc::vec::Vec<u8>, #[prost(bytes = "vec", tag = "3")] pub rest: ::prost::alloc::vec::Vec<u8>, #[prost(string, tag = "4")] pub signature_name: ::prost::alloc::string::String, }