GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::GpgSignature Class Reference
Collaboration diagram for GpgFrontend::GpgSignature:
Collaboration graph

Public Member Functions

auto GetValidity () const -> gpgme_validity_t
 
auto GetStatus () const -> GpgError
 
auto GetSummary () const -> GpgError
 
auto GetPubkeyAlgo () const -> QString
 
auto GetHashAlgo () const -> QString
 
auto GetCreateTime () const -> QDateTime
 Create a time object. More...
 
auto GetExpireTime () const -> QDateTime
 
auto GetFingerprint () const -> QString
 
 GpgSignature ()
 Construct a new Gpg Signature object.
 
 ~GpgSignature ()
 Destroy the Gpg Signature object.
 
 GpgSignature (gpgme_signature_t sig)
 Construct a new Gpg Signature object. More...
 
 GpgSignature (GpgSignature &&) noexcept
 Construct a new Gpg Signature object.
 
 GpgSignature (const GpgSignature &)=delete
 Construct a new Gpg Signature object.
 
auto operator= (GpgSignature &&) noexcept -> GpgSignature &
 
auto operator= (const GpgSignature &) -> GpgSignature &=delete
 

Private Types

using KeySignatrueRefHandler = std::unique_ptr< struct _gpgme_signature, std::function< void(gpgme_signature_t)> >
 

Private Attributes

KeySignatrueRefHandler signature_ref_ = nullptr
 

Constructor & Destructor Documentation

◆ GpgSignature()

GpgFrontend::GpgSignature::GpgSignature ( gpgme_signature_t  sig)
explicit

Construct a new Gpg Signature object.

Construct a new Gpg Signature:: Gpg Signature object.

Parameters
sig

Member Function Documentation

◆ GetCreateTime()

auto GpgFrontend::GpgSignature::GetCreateTime ( ) const -> QDateTime

Create a time object.

Returns
QDateTime

◆ GetExpireTime()

auto GpgFrontend::GpgSignature::GetExpireTime ( ) const -> QDateTime
Returns
QDateTime

◆ GetFingerprint()

auto GpgFrontend::GpgSignature::GetFingerprint ( ) const -> QString

◆ GetHashAlgo()

auto GpgFrontend::GpgSignature::GetHashAlgo ( ) const -> QString
Returns
QString

◆ GetPubkeyAlgo()

auto GpgFrontend::GpgSignature::GetPubkeyAlgo ( ) const -> QString
Returns
QString

◆ GetStatus()

auto GpgFrontend::GpgSignature::GetStatus ( ) const -> GpgError
Returns
gpgme_error_t

Referenced by GpgFrontend::UI::VerifyKeyDetailBox::VerifyKeyDetailBox().

◆ GetSummary()

auto GpgFrontend::GpgSignature::GetSummary ( ) const -> GpgError
Returns
gpgme_error_t

◆ GetValidity()

auto GpgFrontend::GpgSignature::GetValidity ( ) const -> gpgme_validity_t
Returns
gpgme_validity_t

◆ operator=() [1/2]

auto GpgFrontend::GpgSignature::operator= ( const GpgSignature ) -> GpgSignature &=delete
delete
Returns
GpgSignature&

◆ operator=() [2/2]

auto GpgFrontend::GpgSignature::operator= ( GpgSignature &&  ) -> GpgSignature &
defaultnoexcept
Returns
GpgSignature&

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