Antenna House PDF Tool API (C++) 8.0
PtlEncryptStandard.h
1
2// PtlEncryptStandard.h
3// Copyright (C) 2013-2021 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLENCRYPT_STANDARD_H_
7#define PDFTK_PTLENCRYPT_STANDARD_H_
8
9#include "PtlEncrypt.h"
10
11namespace PdfTk {
12
13class PtlParamString;
14
19
20class PDFTK_API PtlEncryptStandard : public PtlEncrypt
21{
22public:
30
31public:
39
46
51
52public:
59
60public:
67
74
75public:
81 bool hasUserPassword() const;
82
92 void setUserPassword(const PtlParamString& password);
93
99 bool hasOwnerPassword() const;
100
110 void setOwnerPassword(const PtlParamString& password);
111};
112
113} // namespace PdfTk
114
115#endif // PDFTK_PTLENCRYPT_STANDARD_H_
PtlEncrypt(FILTER_TYPE filterType)
コンストラクタ
STANDARD_METHOD_TYPE getMethod() const
標準セキュリティハンドラのメソッドを取得。
bool hasUserPassword() const
ユーザパスワードを持っているかどうかを取得。
PtlEncryptStandard(const PtlEncryptStandard &obj)
コピーコンストラクタ
PtlEncryptStandard & operator=(const PtlEncryptStandard &obj)
コピーオペレータ
void setMethod(STANDARD_METHOD_TYPE method)
標準セキュリティハンドラのメソッドを設定。
bool hasOwnerPassword() const
オーナーパスワードを持っているかどうかを取得。
void setUserPassword(const PtlParamString &password)
ユーザパスワード値を設定。
void setOwnerPassword(const PtlParamString &password)
オーナーパスワード値を設定。
virtual ~PtlEncryptStandard()
デストラクタ
PtlEncryptStandard(int keyLength, STANDARD_METHOD_TYPE method)
コンストラクタ