GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Public Member Functions | |
std::string | GetID () const |
std::string | GetFingerprint () const |
std::string | GetPubkeyAlgo () const |
unsigned int | GetKeyLength () const |
bool | IsHasEncryptionCapability () const |
bool | IsHasSigningCapability () const |
bool | IsHasCertificationCapability () const |
bool | IsHasAuthenticationCapability () const |
bool | IsPrivateKey () const |
bool | IsExpired () const |
bool | IsRevoked () const |
bool | IsDisabled () const |
bool | IsSecretKey () const |
bool | IsCardKey () const |
boost::posix_time::ptime | GetCreateTime () const |
boost::posix_time::ptime | GetExpireTime () const |
GpgSubKey () | |
Construct a new Gpg Sub Key object. More... | |
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. | |
GpgSubKey & | operator= (GpgSubKey &&o) noexcept |
GpgSubKey & | operator= (const GpgSubKey &)=delete |
bool | operator== (const GpgSubKey &o) const |
Private Types | |
using | SubkeyRefHandler = std::unique_ptr< struct _gpgme_subkey, std::function< void(gpgme_subkey_t)> > |
Private Attributes | |
SubkeyRefHandler | _subkey_ref = nullptr |
|
default |
Construct a new Gpg Sub Key object.
Copyright (C) 2021 Saturneric
This file is part of GpgFrontend.
GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
GpgFrontend is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see https://www.gnu.org/licenses/.
The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.
All the source code of GpgFrontend was modified and released by Saturnericeric@ starting on May 12, 2021. bktu s.com
SPDX-License-Identifier: GPL-3.0-or-later
|
explicit |
Construct a new Gpg Sub Key object.
subkey |
|
noexcept |
Construct a new Gpg Sub Key object.
o |
boost::posix_time::ptime GpgFrontend::GpgSubKey::GetCreateTime | ( | ) | const |
boost::posix_time::ptime GpgFrontend::GpgSubKey::GetExpireTime | ( | ) | const |
std::string GpgFrontend::GpgSubKey::GetFingerprint | ( | ) | const |
Referenced by operator==().
std::string GpgFrontend::GpgSubKey::GetID | ( | ) | const |
unsigned int GpgFrontend::GpgSubKey::GetKeyLength | ( | ) | const |
std::string GpgFrontend::GpgSubKey::GetPubkeyAlgo | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsCardKey | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsDisabled | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsExpired | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsHasAuthenticationCapability | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsHasCertificationCapability | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsHasEncryptionCapability | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsHasSigningCapability | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsPrivateKey | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsRevoked | ( | ) | const |
bool GpgFrontend::GpgSubKey::IsSecretKey | ( | ) | const |
|
noexcept |
o |
bool GpgFrontend::GpgSubKey::operator== | ( | const GpgSubKey & | o | ) | const |