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

Public Member Functions

auto GetName () const -> QString
 
auto GetEmail () const -> QString
 
auto GetComment () const -> QString
 
auto GetUID () const -> QString
 
auto GetRevoked () const -> bool
 
auto GetInvalid () const -> bool
 
auto GetTofuInfos () const -> std::unique_ptr< std::vector< GpgTOFUInfo >>
 
auto GetSignatures () const -> std::unique_ptr< std::vector< GpgKeySignature >>
 
 GpgUID ()
 Construct a new Gpg U I D object.
 
 GpgUID (gpgme_user_id_t uid)
 Construct a new Gpg U I D object. More...
 
 GpgUID (GpgUID &&o) noexcept
 Construct a new Gpg U I D object. More...
 
 GpgUID (const GpgUID &)=delete
 Construct a new Gpg U I D object.
 
auto operator= (GpgUID &&o) noexcept -> GpgUID &
 
auto operator= (const GpgUID &) -> GpgUID &=delete
 

Private Types

using UidRefHandler = std::unique_ptr< struct _gpgme_user_id, std::function< void(gpgme_user_id_t)> >
 

Private Attributes

UidRefHandler uid_ref_ = nullptr
 

Constructor & Destructor Documentation

◆ GpgUID() [1/2]

GpgFrontend::GpgUID::GpgUID ( gpgme_user_id_t  uid)
explicit

Construct a new Gpg U I D object.

Parameters
uid

◆ GpgUID() [2/2]

GpgFrontend::GpgUID::GpgUID ( GpgUID &&  o)
noexcept

Construct a new Gpg U I D object.

Parameters
o

Member Function Documentation

◆ GetComment()

auto GpgFrontend::GpgUID::GetComment ( ) const -> QString
Returns
QString

◆ GetEmail()

auto GpgFrontend::GpgUID::GetEmail ( ) const -> QString
Returns
QString

◆ GetInvalid()

auto GpgFrontend::GpgUID::GetInvalid ( ) const -> bool
Returns
true
false

◆ GetName()

auto GpgFrontend::GpgUID::GetName ( ) const -> QString
Returns
QString

◆ GetRevoked()

auto GpgFrontend::GpgUID::GetRevoked ( ) const -> bool
Returns
true
false

◆ GetSignatures()

auto GpgFrontend::GpgUID::GetSignatures ( ) const -> std::unique_ptr<std::vector<GpgKeySignature>>
Returns
std::unique_ptr<std::vector<GpgKeySignature>>

◆ GetTofuInfos()

auto GpgFrontend::GpgUID::GetTofuInfos ( ) const -> std::unique_ptr<std::vector<GpgTOFUInfo>>
Returns
std::unique_ptr<std::vector<GpgTOFUInfo>>

◆ GetUID()

auto GpgFrontend::GpgUID::GetUID ( ) const -> QString
Returns
QString

◆ operator=() [1/2]

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

◆ operator=() [2/2]

auto GpgFrontend::GpgUID::operator= ( GpgUID &&  o) -> GpgUID &
noexcept
Parameters
o
Returns
GpgUID&

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