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),