Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
cet::sha1 Class Reference

#include "/cvmfs/"

Public Types

using uchar = unsigned char
using digest_t = std::array< uchar, digest_sz >

Public Member Functions

 sha1 ()
 sha1 (std::string const &mesg)
 sha1 (char const mesg)
void reset ()
sha1operator<< (std::string const &mesg)
sha1operator<< (char const mesg)
digest_t digest ()

Static Public Attributes

static std::size_t constexpr digest_sz {20}

Private Attributes

SHA_CTX context

Detailed Description

Definition at line 26 of file sha1.h.

Member Typedef Documentation

using cet::sha1::digest_t = std::array<uchar, digest_sz>

Definition at line 30 of file sha1.h.

using cet::sha1::uchar = unsigned char

Definition at line 29 of file sha1.h.

Constructor & Destructor Documentation

cet::sha1::sha1 ( )
cet::sha1::sha1 ( std::string const &  mesg)
cet::sha1::sha1 ( char const  mesg)

Member Function Documentation

digest_t cet::sha1::digest ( )
sha1& cet::sha1::operator<< ( std::string const &  mesg)
sha1& cet::sha1::operator<< ( char const  mesg)
void cet::sha1::reset ( )

Member Data Documentation

SHA_CTX cet::sha1::context

Definition at line 43 of file sha1.h.

std::size_t constexpr cet::sha1::digest_sz {20}

Definition at line 28 of file sha1.h.

Referenced by fhicl::ParameterSetID::max_str_size().

The documentation for this class was generated from the following file: