CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
letter::Letter Class Reference

#include <letter.h>

Collaboration diagram for letter::Letter:

Public Member Functions

 Letter (const std::string &fqrn, const std::string &text, signature::SignatureManager *signature_manager)
 
std::string Sign (const shash::Algorithms hash_algorithm)
 
Failures Verify (uint64_t max_age, std::string *msg, std::string *cert)
 
std::string text () const
 

Private Attributes

std::string fqrn_
 
std::string text_
 
signature::SignatureManagersignature_manager_
 

Detailed Description

Definition at line 43 of file letter.h.

Constructor & Destructor Documentation

letter::Letter::Letter ( const std::string &  fqrn,
const std::string &  text,
signature::SignatureManager signature_manager 
)

Definition at line 20 of file letter.cc.

Member Function Documentation

string letter::Letter::Sign ( const shash::Algorithms  hash_algorithm)

Definition at line 30 of file letter.cc.

Referenced by swissknife::CommandLetter::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string letter::Letter::text ( ) const
inline

Definition at line 50 of file letter.h.

Failures letter::Letter::Verify ( uint64_t  max_age,
std::string *  msg,
std::string *  cert 
)

Definition at line 64 of file letter.cc.

Referenced by swissknife::CommandLetter::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string letter::Letter::fqrn_
private

Definition at line 53 of file letter.h.

Referenced by Sign(), and Verify().

signature::SignatureManager* letter::Letter::signature_manager_
private

Definition at line 55 of file letter.h.

Referenced by Sign(), and Verify().

std::string letter::Letter::text_
private

Definition at line 54 of file letter.h.

Referenced by Sign(), text(), and Verify().


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