apt: pkgAcqMetaSig Class Reference

apt 2.7.5 commandline package manager

Public Member Functions | Protected Member Functions | List of all members
pkgAcqMetaSig Class Reference
Acquire system {{{

An acquire item that downloads the detached signature {{{ of a meta-index (Release) file, then queues up the release file itself. More...

`#include <apt-pkg/acquire-item.h>`

Inheritance diagram for pkgAcqMetaSig:

## Public Member Functions
virtual bool | HashesRequired () const APT_OVERRIDE
virtual void | Failed (std::string const &Message, pkgAcquire::MethodConfig const *const Cnf) APT_OVERRIDE
virtual void | Done (std::string const &Message, HashStringList const &Hashes, pkgAcquire::MethodConfig const *const Cnf) APT_OVERRIDE
virtual std::string | Custom600Headers () const APT_OVERRIDE
| pkgAcqMetaSig (pkgAcquire *const Owner, pkgAcqMetaClearSig *const TransactionManager, IndexTarget const &Target, pkgAcqMetaIndex *const MetaIndex) APT_NONNULL(2
| Create a new pkgAcqMetaSig.
Public Member Functions inherited from pkgAcqTransactionItem
virtual bool | TransactionState (TransactionStates const state)
virtual std::string | DescURI () const APT_OVERRIDE
virtual HashStringList | GetExpectedHashes () const APT_OVERRIDE
virtual std::string | GetMetaKey () const
virtual bool | AcquireByHash () const
| pkgAcqTransactionItem (pkgAcquire *const Owner, pkgAcqMetaClearSig *const TransactionManager, IndexTarget const &Target) APT_NONNULL(2

## Protected Member Functions
virtual std::string | GetFinalFilename () const APT_OVERRIDE
| Get the full pathname of the final file for the current URI.
Protected Member Functions inherited from pkgAcqTransactionItem
HashStringList | GetExpectedHashesFor (std::string const &MetaKey) const
bool | QueueURI (pkgAcquire::ItemDesc &Item) APT_OVERRIDE

## Additional Inherited Members
Public Types inherited from pkgAcqTransactionItem
enum | TransactionStates { TransactionStarted , TransactionCommit , TransactionAbort }
Public Attributes inherited from pkgAcqTransactionItem
IndexTarget const | Target
std::string | PartialFile
| storge name until a transaction is finished
pkgAcqMetaClearSig *const | TransactionManager
| TransactionManager.

## Detailed Description

An acquire item that downloads the detached signature {{{ of a meta-index (Release) file, then queues up the release file itself.

Todo:
  Why protected members?

See also
  pkgAcqMetaIndex

## Member Function Documentation

## ◆ Failed()

void Failed | ( | std::string const & | Message,
|  | pkgAcquire::MethodConfig const *const | Cnf
| ) |  |
| virtual

Todo:
  this is used often (e.g. in pkgAcqIndexTrans) so refactor

References pkgAcqMetaBase::AuthPass, pkgAcqMetaBase::CheckStopAuthentication(), IndexTarget::Description, pkgAcqMetaBase::GetFinalFilename(), pkgAcqMetaClearSig::MetaIndexParser, pkgAcqMetaClearSig::QueueIndexes(), pkgAcqTransactionItem::TransactionManager, pkgAcqMetaBase::TransactionStageCopy(), pkgAcqMetaBase::TransactionStageRemoval(), and pkgAcqMetaBase::VerifyVendor().

## ◆ HashesRequired()

virtual bool HashesRequired | ( |  | ) | const
| inlinevirtual

Reimplemented from pkgAcqTransactionItem.

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

- apt-pkg/acquire-item.h
- apt-pkg/acquire-item.cc