GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Classes | |
struct | _data_ref_deleter |
Public Member Functions | |
GpgData () | |
Construct a new Gpg Data object. More... | |
GpgData (void *buffer, size_t size, bool copy=true) | |
Construct a new Gpg Data object. More... | |
operator gpgme_data_t () | |
ByteArrayPtr | Read2Buffer () |
Private Attributes | |
std::unique_ptr< struct gpgme_data, _data_ref_deleter > | data_ref_ |
GpgFrontend::GpgData::GpgData | ( | ) |
Construct a new Gpg Data 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
GpgFrontend::GpgData::GpgData | ( | void * | buffer, |
size_t | size, | ||
bool | copy = true |
||
) |
Construct a new Gpg Data object.
buffer | |
size | |
copy |
GpgFrontend::GpgData::operator gpgme_data_t | ( | ) |
GpgFrontend::ByteArrayPtr GpgFrontend::GpgData::Read2Buffer | ( | ) |
Referenced by GpgFrontend::GpgBasicOperator::Decrypt(), GpgFrontend::GpgBasicOperator::DecryptVerify(), GpgFrontend::GpgBasicOperator::Encrypt(), GpgFrontend::GpgBasicOperator::EncryptSign(), GpgFrontend::GpgBasicOperator::EncryptSymmetric(), GpgFrontend::GpgKeyImportExporter::ExportKey(), GpgFrontend::GpgKeyImportExporter::ExportKeyOpenSSH(), GpgFrontend::GpgKeyImportExporter::ExportKeys(), GpgFrontend::GpgKeyImportExporter::ExportSecretKey(), GpgFrontend::GpgKeyImportExporter::ExportSecretKeyShortest(), and GpgFrontend::GpgBasicOperator::Sign().
|
private |