iText 7 7.1.8 API
iText.Kernel.Pdf.ReaderProperties Class Reference

Public Member Functions

virtual ReaderProperties  SetPassword (byte[] password)
  Defines the password which will be used if the document is encrypted with standard encryption. More...
 
virtual ReaderProperties  SetPublicKeySecurityParams (X509Certificate certificate, ICipherParameters certificateKey)
  Defines the certificate which will be used if the document is encrypted with public key encryption. More...
 
virtual ReaderProperties  SetPublicKeySecurityParams (X509Certificate certificate)
  Defines the certificate which will be used if the document is encrypted with public key encryption. More...
 
virtual ReaderProperties  SetMemoryLimitsAwareHandler (MemoryLimitsAwareHandler memoryLimitsAwareHandler)
  Sets the memory handler which will be used to handle decompressed pdf streams. More...
 

Member Function Documentation

◆ SetMemoryLimitsAwareHandler()

virtual ReaderProperties iText.Kernel.Pdf.ReaderProperties.SetMemoryLimitsAwareHandler ( MemoryLimitsAwareHandler  memoryLimitsAwareHandler )
inlinevirtual

Sets the memory handler which will be used to handle decompressed pdf streams.

Parameters
memoryLimitsAwareHandler the memory handler which will be used to handle decompressed pdf streams
Returns
this ReaderProperties instance.

◆ SetPassword()

virtual ReaderProperties iText.Kernel.Pdf.ReaderProperties.SetPassword ( byte[]  password )
inlinevirtual

Defines the password which will be used if the document is encrypted with standard encryption.

Defines the password which will be used if the document is encrypted with standard encryption. This could be either user or owner password.

Parameters
password the password to use in order to open the document.

◆ SetPublicKeySecurityParams() [1/2]

virtual ReaderProperties iText.Kernel.Pdf.ReaderProperties.SetPublicKeySecurityParams ( X509Certificate  certificate )
inlinevirtual

Defines the certificate which will be used if the document is encrypted with public key encryption.

◆ SetPublicKeySecurityParams() [2/2]

virtual ReaderProperties iText.Kernel.Pdf.ReaderProperties.SetPublicKeySecurityParams ( X509Certificate  certificate,
ICipherParameters  certificateKey 
)
inlinevirtual

Defines the certificate which will be used if the document is encrypted with public key encryption.