/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. *
*/
namespace vcl::pdf
{ class EncryptionHashTransporter;
class PDFEncryptor : public IPDFEncryptor
{ private: /* the numerical value of the access permissions, according to PDF spec, must be signed */
sal_Int32 m_nAccessPermissions = 0;
/* The encryption key, formed with the user password according to algorithm 3.2,
* maximum length is 16 bytes + 3 + 2 for 128 bit security */
sal_Int32 m_nKeyLength = 0; // key length, 16 or 5
sal_Int32 m_nRC4KeyLength = 0; // key length, 16 or 10, to be input to the algorithm 3.1
/* used to cipher the stream data and for password management */
rtlCipher m_aCipher = nullptr;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.