parsec-interface 0.25.0

Parsec interface library to communicate using the wire protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Operation {
    #[prost(string, tag="1")]
    pub key_name: std::string::String,
    #[prost(enumeration="super::psa_algorithm::algorithm::Cipher", tag="2")]
    pub alg: i32,
    #[prost(bytes, tag="3")]
    pub ciphertext: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
    #[prost(bytes, tag="1")]
    pub plaintext: std::vec::Vec<u8>,
}