xrootd
Loading...
Searching...
No Matches
XrdHttpChecksum.hh
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// This file is part of XrdHTTP: A pragmatic implementation of the
3// HTTP/WebDAV protocol for the Xrootd framework
4//
5// Copyright (c) 2013 by European Organization for Nuclear Research (CERN)
6// Author: Cedric Caffy <ccaffy@cern.ch>
7// File Date: Mar 2023
8//------------------------------------------------------------------------------
9// XRootD is free software: you can redistribute it and/or modify
10// it under the terms of the GNU Lesser General Public License as published by
11// the Free Software Foundation, either version 3 of the License, or
12// (at your option) any later version.
13//
14// XRootD is distributed in the hope that it will be useful,
15// but WITHOUT ANY WARRANTY; without even the implied warranty of
16// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17// GNU General Public License for more details.
18//
19// You should have received a copy of the GNU Lesser General Public License
20// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
21//------------------------------------------------------------------------------
22
23#ifndef XROOTD_XRDHTTPCHECKSUM_HH
24#define XROOTD_XRDHTTPCHECKSUM_HH
25
26#include <string>
27
33public:
40 XrdHttpChecksum(const std::string & xrootConfigDigestName, const std::string & httpName, bool needsBase64Padding);
41
42 std::string getXRootDConfigDigestName() const;
43 std::string getHttpName() const;
44 std::string getHttpNameLowerCase() const;
45 bool needsBase64Padding() const;
46
47private:
49 std::string mHTTPName;
51};
52
53
54#endif //XROOTD_XRDHTTPCHECKSUM_HH
Definition XrdHttpChecksum.hh:32
bool mNeedsBase64Padding
Definition XrdHttpChecksum.hh:50
bool needsBase64Padding() const
std::string getXRootDConfigDigestName() const
std::string getHttpNameLowerCase() const
std::string mHTTPName
Definition XrdHttpChecksum.hh:49
XrdHttpChecksum(const std::string &xrootConfigDigestName, const std::string &httpName, bool needsBase64Padding)
std::string mXRootDConfigDigestName
Definition XrdHttpChecksum.hh:48
std::string getHttpName() const