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

Public Member Functions

auto GetID () const -> QString
 
auto GetFingerprint () const -> QString
 
auto GetPubkeyAlgo () const -> QString
 
auto GetKeyAlgo () const -> QString
 
auto GetKeyLength () const -> unsigned int
 
auto IsHasEncryptionCapability () const -> bool
 
auto IsHasSigningCapability () const -> bool
 
auto IsHasCertificationCapability () const -> bool
 
auto IsHasAuthenticationCapability () const -> bool
 
auto IsPrivateKey () const -> bool
 
auto IsExpired () const -> bool
 
auto IsRevoked () const -> bool
 
auto IsDisabled () const -> bool
 
auto IsSecretKey () const -> bool
 
auto IsCardKey () const -> bool
 
auto GetCreateTime () const -> QDateTime
 
QDateTime GetExpireTime () const
 
 GpgSubKey ()
 Construct a new Gpg Sub Key object.
 
 GpgSubKey (gpgme_subkey_t subkey)
 Construct a new Gpg Sub Key object. More...
 
 GpgSubKey (GpgSubKey &&o) noexcept
 Construct a new Gpg Sub Key object. More...
 
 GpgSubKey (const GpgSubKey &)=delete
 Construct a new Gpg Sub Key object.
 
auto operator= (GpgSubKey &&o) noexcept -> GpgSubKey &
 
auto operator= (const GpgSubKey &) -> GpgSubKey &=delete
 
auto operator== (const GpgSubKey &o) const -> bool
 

Private Types

using SubkeyRefHandler = std::unique_ptr< struct _gpgme_subkey, std::function< void(gpgme_subkey_t)> >
 

Private Attributes

SubkeyRefHandler subkey_ref_ = nullptr
 

Constructor & Destructor Documentation

◆ GpgSubKey() [1/2]

GpgFrontend::GpgSubKey::GpgSubKey ( gpgme_subkey_t  subkey)
explicit

Construct a new Gpg Sub Key object.

Parameters
subkey

◆ GpgSubKey() [2/2]

GpgFrontend::GpgSubKey::GpgSubKey ( GpgSubKey &&  o)
noexcept

Construct a new Gpg Sub Key object.

Parameters
o

Member Function Documentation

◆ GetCreateTime()

auto GpgFrontend::GpgSubKey::GetCreateTime ( ) const -> QDateTime
Returns
QDateTime

◆ GetExpireTime()

auto GpgFrontend::GpgSubKey::GetExpireTime ( ) const
Returns
QDateTime

◆ GetFingerprint()

auto GpgFrontend::GpgSubKey::GetFingerprint ( ) const -> QString
Returns
QString

◆ GetID()

auto GpgFrontend::GpgSubKey::GetID ( ) const -> QString
Returns
QString

◆ GetKeyAlgo()

auto GpgFrontend::GpgSubKey::GetKeyAlgo ( ) const -> QString
Returns
QString

◆ GetKeyLength()

auto GpgFrontend::GpgSubKey::GetKeyLength ( ) const -> unsigned int
Returns
unsigned int

◆ GetPubkeyAlgo()

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

◆ IsCardKey()

auto GpgFrontend::GpgSubKey::IsCardKey ( ) const -> bool
Returns
true
false

◆ IsDisabled()

auto GpgFrontend::GpgSubKey::IsDisabled ( ) const -> bool
Returns
true
false

◆ IsExpired()

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

◆ IsHasAuthenticationCapability()

auto GpgFrontend::GpgSubKey::IsHasAuthenticationCapability ( ) const -> bool
Returns
true
false

◆ IsHasCertificationCapability()

auto GpgFrontend::GpgSubKey::IsHasCertificationCapability ( ) const -> bool
Returns
true
false

◆ IsHasEncryptionCapability()

auto GpgFrontend::GpgSubKey::IsHasEncryptionCapability ( ) const -> bool
Returns
true
false

◆ IsHasSigningCapability()

auto GpgFrontend::GpgSubKey::IsHasSigningCapability ( ) const -> bool
Returns
true
false

◆ IsPrivateKey()

auto GpgFrontend::GpgSubKey::IsPrivateKey ( ) const -> bool
Returns
true
false

◆ IsRevoked()

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

◆ IsSecretKey()

auto GpgFrontend::GpgSubKey::IsSecretKey ( ) const -> bool
Returns
true
false

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

auto GpgFrontend::GpgSubKey::operator== ( const GpgSubKey o) const -> bool
Parameters
o
Returns
true
false

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