diff --git a/Cargo.toml b/Cargo.toml index db3a9be..8c1d628 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "http-signature-normalization" description = "An HTTP Signatures library that leaves the signing to you" -version = "0.1.0" +version = "0.1.1" authors = ["asonix "] license-file = "LICENSE" readme = "README.md" diff --git a/src/verify.rs b/src/verify.rs index 839a402..3c8f38a 100644 --- a/src/verify.rs +++ b/src/verify.rs @@ -134,6 +134,16 @@ impl Unverified { self.algorithm.as_ref() } + /// Get the signing string used to create the signature + pub fn signing_string(&self) -> &str { + &self.signing_string + } + + /// Get the signature itself + pub fn signature(&self) -> &str { + &self.signature + } + /// Verify the signature with the signature and the signing string /// /// ```rust,ignore