Class ReaderProperties
public class ReaderProperties
- Inheritance
-
ReaderProperties
- Inherited Members
Constructors
ReaderProperties()
public ReaderProperties()
Fields
certificate
protected IX509Certificate certificate
Field Value
- IX509Certificate
certificateKey
protected IPrivateKey certificateKey
Field Value
- IPrivateKey
memoryLimitsAwareHandler
protected MemoryLimitsAwareHandler memoryLimitsAwareHandler
Field Value
password
protected byte[] password
Field Value
- byte[]
Methods
SetMemoryLimitsAwareHandler(MemoryLimitsAwareHandler)
Sets the memory handler which will be used to handle decompressed PDF streams.
public virtual ReaderProperties SetMemoryLimitsAwareHandler(MemoryLimitsAwareHandler memoryLimitsAwareHandler)
Parameters
memoryLimitsAwareHandler
MemoryLimitsAwareHandlerthe memory handler which will be used to handle decompressed PDF streams
Returns
- ReaderProperties
this ReaderProperties instance
SetPassword(byte[])
Defines the password which will be used if the document is encrypted with standard encryption.
public virtual ReaderProperties SetPassword(byte[] password)
Parameters
password
byte[]the password to use in order to open the document
Returns
- ReaderProperties
this ReaderProperties instance
Remarks
Defines the password which will be used if the document is encrypted with standard encryption. This could be either user or owner password.
SetPublicKeySecurityParams(IX509Certificate)
Defines the certificate which will be used if the document is encrypted with public key encryption (see Pdf 1.7 specification, 7.6.4. Public-Key Security Handlers)
public virtual ReaderProperties SetPublicKeySecurityParams(IX509Certificate certificate)
Parameters
certificate
IX509Certificatethe recipient iText.Commons.Bouncycastle.Cert.IX509Certificate , serves as recipient identifier
Returns
- ReaderProperties
this ReaderProperties instance
SetPublicKeySecurityParams(IX509Certificate, IPrivateKey)
Defines the certificate which will be used if the document is encrypted with public key encryption (see Pdf 1.7 specification, 7.6.4. Public-Key Security Handlers)
public virtual ReaderProperties SetPublicKeySecurityParams(IX509Certificate certificate, IPrivateKey certificateKey)
Parameters
certificate
IX509Certificatethe recipient iText.Commons.Bouncycastle.Cert.IX509Certificate , serves as recipient identifier
certificateKey
IPrivateKeythe recipient private iText.Commons.Bouncycastle.Crypto.IPrivateKey to the certificate
Returns
- ReaderProperties
this ReaderProperties instance