Represents the security settings of the PDF document.

Namespace: Spire.Pdf.Security
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public class PdfSecurity
Public Class PdfSecurity
public ref class PdfSecurity
type PdfSecurity =  class end

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PdfSecurity()()()()
Initializes a new instance of the class.
Encrypt(String)
To Encrypt the PDF document with open password. Note:If set empty string value to open password, it indicates that the PDF document can be operated without providing corresponding password.
Encrypt(String, PdfPermissionsFlags)
To Encrypt the PDF document with permission password and permissions. Note:The Permission password can't be empty string.
Encrypt(String, String, PdfPermissionsFlags, PdfEncryptionKeySize)
To Encrypt the PDF document and set the encryption key size and permissions. Note:If set empty string value to open password or permission password, it indicates that the PDF document can be operated without providing corresponding password.
Encrypt(String, String, PdfPermissionsFlags, PdfEncryptionKeySize, String)
To Encrypt the PDF document with open password and permission password,and set the encryption key size and permissions. Note:If set empty string value to open password or permission password, it indicates that the PDF document can be operated without providing corresponding password.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
KeySize Obsolete.
Gets or sets the size of the key.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OriginalEncrypt
Indicate whether this pdf document was encrypted originally or not.
OwnerPassword Obsolete.
Gets or sets the owner password.
Permissions Obsolete.
Gets or sets the document's permission flags
ResetPermissions(PdfPermissionsFlags) Obsolete.
Logically ANDs flag and inverted mask and return result.
SetPermissions(PdfPermissionsFlags) Obsolete.
Logically ORs flag and mask and return result.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserPassword Obsolete.
Gets or sets the user password.

Inheritance Hierarchy

System..::..Object
  Spire.Pdf.Security..::..PdfSecurity

See Also