Struct matrix_sdk_crypto::EncryptionInfo [−][src]
pub struct EncryptionInfo {
pub version: String,
pub web_key: JsonWebKey,
pub iv: String,
pub hashes: BTreeMap<String, String>,
}Expand description
Struct holding all the information that is needed to decrypt an encrypted file.
Fields
version: StringThe version of the encryption scheme.
web_key: JsonWebKeyThe web key that was used to encrypt the file.
iv: StringThe initialization vector that was used to encrypt the file.
hashes: BTreeMap<String, String>The hashes that can be used to check the validity of the file.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more