[]
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
Initialize a new instance of the StandardSecurityHandlerRev4 class.
public StandardSecurityHandlerRev4()
Gets or sets the encryption algorithm to use.
public EncryptionAlgorithm EncryptionAlgorithm { get; set; }
Gets or sets a value indicating whether the document-level metadata stream is to be encrypted.
public bool EncryptMetadata { get; set; }
Gets or sets a value indicating whether streams should be encrypted.
public bool EncryptStreams { get; set; }
Gets or sets a value indicating whether strings should be encrypted.
public bool EncryptStrings { get; set; }
protected virtual void SetEncryptionAlgorithm(EncryptionAlgorithm value)
value
EncryptionAlgorithmprotected override void SetEncryptionKeyLength(int value)
value
int