Language:
Arabic (العربية)
Chinese Simplified (中文(简体)
Chinese Traditional (中文(繁體)
Dutch (Nederlands)
English
French (français)
German (Deutsch)
Italian (italiano)
Japanese (日本語)
Korean (한국어)
Portuguese (Português)
Russian (русский)
Spanish (español)
Sign In
Sign Up
Products
Purchase
Downloads
Demos
Forums
Blogs
Documentation
Corporate
Product Suites
Aspose.Total for .NET and Java
Aspose.Total for Reporting Services
File Format Components
Aspose.Words for .NET and Java
Aspose.Cells for .NET and Java
Aspose.Pdf for .NET and Java
Aspose.Slides for .NET and Java
Aspose.Pdf.Kit for .NET and Java
Product Information
Programmer's Guide
Knowledge Base
Aspose.Pdf.Kit for .Net API Reference
Aspose.Pdf.Kit Namespace
AlignmentType Class
Annotation Class
AnnotationFlag Enumeration
AnnotationType Enumeration
AppearanceFlag Enumeration
AutoFiller Class
BookMark Class
BookMarks Class
Certificate Class
DataType Enumeration
DocumentPrivilege Class
EncodingType Enumeration
EnumDescription Class
FieldFlag Enumeration
FieldType Enumeration
FontColor Class
FontStyle Enumeration
Form Class
FormattedText Class
FormDataConverter Class
FormEditor Class
FormFieldFacade Class
License Class
LineInfo Class
LinkInfo Class
LogoStyle Class
MarkupType Enumeration
MenuActionName Enumeration
PageSize Class
PageTransitionType Enumeration
PdfAnnotationEditor Class
PdfContentEditor Class
PdfConverter Class
PdfExtractor Class
PdfFileEditor Class
PdfFileInfo Class
PdfFileMend Class
PdfFileSecurity Class
PdfFileSecurity Members
PdfFileSecurity Constructor
Properties
Methods
PdfFileSignature Class
PdfFileStamp Class
PdfPageEditor Class
PdfPrivilege Enumeration
PdfViewer Class
PdfXmpMetadata Class
PropertyFlag Enumeration
Stamp Class
VerticalAlignmentType Class
ViewerPreference Class
XmpSchema Class
Aspose.Pdf.Kit for Java API Reference
Aspose.Network for .NET
Aspose.Tasks for .NET
Aspose.Form for .NET
Aspose.Metafiles for Java
Aspose.Flash for .NET
Aspose.Recognition for .NET
SSRS Rendering Extensions
Aspose.Words for Reporting Services
Aspose.Slides for Reporting Services
Aspose.Cells for Reporting Services
Aspose.Pdf for Reporting Services
Aspose.BarCode for Reporting Services
JasperReports Exporters
Aspose.Slides for JasperReports
Visual Components
Aspose.BarCode for .NET and Java
Aspose.Grid for .NET
Aspose.Chart for .NET
Aspose.Editor for .NET
Aspose.AdHoc for .NET
Utility Components
Aspose.Workflow for .NET
Aspose.Spell for .NET
Aspose.ASPXpand for .NET
Aspose
>
Documentation
>
File Format Components
>
Aspose.Pdf.Kit for .NET and Java
>
Aspose.Pdf.Kit for .Net API Reference
>
Aspose.Pdf.Kit Namespace
>
PdfFileSecurity Class
>
PdfFileSecurity Members
PdfFileSecurity overview
Public Instance Constructors
PdfFileSecurity
Overloaded. Initializes a new instance of the PdfFileSecurity class.
Public Instance Properties
InputFile
Sets the input file.
InputStream
Sets the input stream.
OutputFile
Sets the output file.
OutputStream
Sets the output stream.
Public Instance Methods
ChangePassword
Overloaded. Changes the user password and owner password by owner password, keeps the original security settings. The new user password and the new owner password can be null or empty. The owner password will be replaced with a random string if the new owner password is null or empty.
DecryptFile
Decrypts an encrypted Pdf document by owner password. If the document hasn't owner password, it is allow to use user password.
EncryptFile
Overloaded. Encrypts Pdf file with userpassword and ownerpassword and sets the document's privileges to access. The user password and the owner password can be null or empty. The owner password will be replaced with a random string if the input owner password is null or empty.
Equals
(inherited from
Object
)
Determines whether the specified
Object
is equal to the current
Object
.
GetHashCode
(inherited from
Object
)
Serves as a hash function for a particular type.
GetHashCode
is suitable for use in hashing algorithms and data structures like a hash table.
GetType
(inherited from
Object
)
Gets the
Type
of the current instance.
SetPrivilege
Overloaded. Sets Pdf file security without being encrypted. The owner password will be added by a random string.
ToString
(inherited from
Object
)
Returns a
String
that represents the current
Object
.
Protected Instance Methods
Finalize
(inherited from
Object
)
Allows an
Object
to attempt to free resources and perform other cleanup operations before the
Object
is reclaimed by garbage collection.
MemberwiseClone
(inherited from
Object
)
Creates a shallow copy of the current
Object
.
See Also
PdfFileSecurity Class
|
Aspose.Pdf.Kit Namespace