[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Security.StandardSecurityHandlerRev4

Class StandardSecurityHandlerRev4

Namespace
GrapeCity.Documents.Pdf.Security
Assembly
GcDocs.Pdf.dll

Represents Standard Security Handler Revision 4.

This handler can use RC4 encryption with key 40-128 bit or AES encryption with 128 bit key and allows to define additional permission flags.

public class StandardSecurityHandlerRev4 : StandardSecurityHandlerRev3, IPdfDict, IDisposable
Inheritance
object
StandardSecurityHandlerRev4
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Constructors

StandardSecurityHandlerRev4()

Initialize a new instance of the StandardSecurityHandlerRev4 class.

public StandardSecurityHandlerRev4()

Properties

EncryptionAlgorithm

Gets or sets the encryption algorithm to use.

public EncryptionAlgorithm EncryptionAlgorithm { get; set; }

Property Value

EncryptionAlgorithm

EncryptMetadata

Gets or sets a value indicating whether the document-level metadata stream is to be encrypted.

public bool EncryptMetadata { get; set; }

Property Value

bool

EncryptStreams

Gets or sets a value indicating whether streams should be encrypted.

public bool EncryptStreams { get; set; }

Property Value

bool

EncryptStrings

Gets or sets a value indicating whether strings should be encrypted.

public bool EncryptStrings { get; set; }

Property Value

bool

Methods

SetEncryptionAlgorithm(EncryptionAlgorithm)

protected virtual void SetEncryptionAlgorithm(EncryptionAlgorithm value)

Parameters

value EncryptionAlgorithm

SetEncryptionKeyLength(int)

protected override void SetEncryptionKeyLength(int value)

Parameters

value int