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

Public Member Functions

auto IsRevoked () const -> bool
 
auto IsExpired () const -> bool
 
auto IsInvalid () const -> bool
 
auto IsExportable () const -> bool
 
auto GetStatus () const -> GpgError
 
auto GetKeyID () const -> QString
 
auto GetPubkeyAlgo () const -> QString
 
auto GetCreateTime () const -> QDateTime
 Create a time object. More...
 
auto GetExpireTime () const -> QDateTime
 
auto GetUID () const -> QString
 
auto GetName () const -> QString
 
auto GetEmail () const -> QString
 
auto GetComment () const -> QString
 
 GpgKeySignature ()
 Construct a new Gpg Key Signature object.
 
 ~GpgKeySignature ()
 Destroy the Gpg Key Signature object.
 
 GpgKeySignature (gpgme_key_sig_t sig)
 Construct a new Gpg Key Signature object. More...
 
 GpgKeySignature (GpgKeySignature &&) noexcept
 Construct a new Gpg Key Signature object.
 
 GpgKeySignature (const GpgKeySignature &)=delete
 Construct a new Gpg Key Signature object.
 
auto operator= (GpgKeySignature &&) noexcept -> GpgKeySignature &
 
auto operator= (const GpgKeySignature &) -> GpgKeySignature &=delete
 

Private Types

using KeySignatrueRefHandler = std::unique_ptr< struct _gpgme_key_sig, std::function< void(gpgme_key_sig_t)> >
 

Private Attributes

KeySignatrueRefHandler signature_ref_ = nullptr
 

Constructor & Destructor Documentation

◆ GpgKeySignature()

GpgFrontend::GpgKeySignature::GpgKeySignature ( gpgme_key_sig_t  sig)
explicit

Construct a new Gpg Key Signature object.

Parameters
sig

Member Function Documentation

◆ GetComment()

QString GpgFrontend::GpgKeySignature::GetComment ( ) const -> QString
Returns
QString

◆ GetCreateTime()

QDateTime GpgFrontend::GpgKeySignature::GetCreateTime ( ) const -> QDateTime

Create a time object.

Returns
QDateTime

◆ GetEmail()

QString GpgFrontend::GpgKeySignature::GetEmail ( ) const -> QString
Returns
QString

◆ GetExpireTime()

QDateTime GpgFrontend::GpgKeySignature::GetExpireTime ( ) const -> QDateTime
Returns
QDateTime

◆ GetKeyID()

QString GpgFrontend::GpgKeySignature::GetKeyID ( ) const -> QString
Returns
QString

◆ GetName()

QString GpgFrontend::GpgKeySignature::GetName ( ) const -> QString
Returns
QString

◆ GetPubkeyAlgo()

QString GpgFrontend::GpgKeySignature::GetPubkeyAlgo ( ) const -> QString
Returns
QString

◆ GetStatus()

gpgme_error_t GpgFrontend::GpgKeySignature::GetStatus ( ) const -> GpgError
Returns
gpgme_error_t

◆ GetUID()

QString GpgFrontend::GpgKeySignature::GetUID ( ) const -> QString
Returns
QString

◆ IsExpired()

bool GpgFrontend::GpgKeySignature::IsExpired ( ) const -> bool
Returns
true
false

◆ IsExportable()

bool GpgFrontend::GpgKeySignature::IsExportable ( ) const -> bool
Returns
true
false

◆ IsInvalid()

bool GpgFrontend::GpgKeySignature::IsInvalid ( ) const -> bool
Returns
true
false

◆ IsRevoked()

bool GpgFrontend::GpgKeySignature::IsRevoked ( ) const -> bool
Returns
true
false

◆ operator=() [1/2]

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

◆ operator=() [2/2]

GpgKeySignature & GpgFrontend::GpgKeySignature::operator= ( GpgKeySignature &&  ) -> GpgKeySignature &
defaultnoexcept
Returns
GpgKeySignature&

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