From 7c9cfb300e9ce2da44ff7d3bf8e26f7af1104413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sat, 15 Apr 2023 19:25:51 +0200 Subject: [PATCH] Remove unused functions --- src/canonicalization.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/canonicalization.rs b/src/canonicalization.rs index e943a21..f548fce 100644 --- a/src/canonicalization.rs +++ b/src/canonicalization.rs @@ -34,16 +34,6 @@ pub struct Canonicalization { } impl Canonicalization { - pub fn set_header_alg(mut self, alg: CanonicalizationType) -> Self { - self.header_alg = alg; - self - } - - pub fn set_body_alg(mut self, alg: CanonicalizationType) -> Self { - self.body_alg = alg; - self - } - pub fn process_header(&self, header: &[u8]) -> Vec { match self.header_alg { CanonicalizationType::Relaxed => header_relaxed(header),