feat: add verify file

This commit is contained in:
2020-11-07 19:52:00 +08:00
parent 3321c4720d
commit 76beb992a3
2 changed files with 56 additions and 3 deletions

View File

@@ -75,9 +75,9 @@ impl SigningKeyPair {
#[derive(Serialize, Deserialize)]
pub struct SignedMessage {
msg: Vec<u8>,
sig: Option<Vec<u8>>,
desc: Option<String>,
pub msg: Vec<u8>,
pub sig: Option<Vec<u8>>,
pub desc: Option<String>,
}
impl SignedMessage {