DocMDPSignature.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace Aspose
9 {
10 namespace Pdf
11 {
12 namespace Facades
13 {
14 class PdfFileSignature;
15 } // namespace Facades
16 namespace Forms
17 {
18 enum class DocMDPAccessPermissions;
19 class Signature;
20 } // namespace Forms
21 } // namespace Pdf
22 } // namespace Aspose
23 
24 namespace Aspose {
25 
26 namespace Pdf {
27 
28 namespace Forms {
29 
33 class ASPOSE_PDF_SHARED_CLASS DocMDPSignature final : public System::Object
34 {
35  typedef DocMDPSignature ThisType;
36  typedef System::Object BaseType;
37 
38  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
39  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
40 
42 
43 public:
44 
48  ASPOSE_PDF_SHARED_API DocMDPAccessPermissions get_AccessPermissions() const;
49 
55  ASPOSE_PDF_SHARED_API DocMDPSignature(System::SharedPtr<Aspose::Pdf::Forms::Signature> signature, DocMDPAccessPermissions accessPermissions);
56 
57 protected:
58 
63 
64 private:
65 
67  DocMDPAccessPermissions _accessPermissions;
68 
73  void InitializeSignatureReference(DocMDPAccessPermissions accessPermissions);
74 
75 };
76 
77 } // namespace Forms
78 } // namespace Pdf
79 } // namespace Aspose
80 
81 
Represents the class of document MDP (modification detection and prevention) signature type...
Definition: DocMDPSignature.h:33
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Definition: AFRelationship.h:4
Represents a class to sign a pdf file with a certificate.
Definition: PdfFileSignature.h:63
DocMDPAccessPermissions
The access permissions granted for this document. Valid values are: 1 - No changes to the document ar...
Definition: DocMDPAccessPermissions.h:17
Whole PDF file will be submitted.