Antenna House PDF Tool API (C++) 8.0
PtlEncrypt.h
1
2// PtlEncrypt.h
3// Copyright (C) 2013-2021 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLENCRYPT_H_
7#define PDFTK_PTLENCRYPT_H_
8
9#include "PdfTkBase.h"
10
11namespace PdfTk {
12
14
19
20class PDFTK_API PtlEncrypt
21{
22public:
31
40
41private:
42 int m_dataEncrypt;
43public:
44 int getHandle() const;
45
46public:
53
60
64 virtual ~PtlEncrypt();
65
66public:
73
74public:
81
82public:
87 int getKeyLength() const;
88
94 void setKeyLength(int keyLength);
95
96public:
103
116
117public:
125
136};
137
138} // namespace PdfTk
139
140#endif // PDFTK_PTLENCRYPT_H_
void setEncryptComponent(ENCRYPT_COMPONENT component)
暗号化する文書コンポーネントの設定。
virtual ~PtlEncrypt()
デストラクタ
ENCRYPT_COMPONENT getEncryptComponent() const
暗号化する文書コンポーネントを取得。
PtlEncrypt(const PtlEncrypt &obj)
コピーコンストラクタ
int getKeyLength() const
キー長を取得。
void setKeyLength(int keyLength)
キー長を設定。
void setPermission(const PtlEncryptPermission &perm)
ユーザアクセス許可フラグを設定。
PtlEncrypt & operator=(const PtlEncrypt &obj)
コピーオペレータ
const PtlEncryptPermission & getPermission() const
ユーザアクセス許可フラグを取得。
PtlEncrypt(FILTER_TYPE filterType)
コンストラクタ
FILTER_TYPE getFilterType() const
暗号化のフィルターを取得。