public class ReaderProperties extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Certificate |
certificate |
protected Key |
certificateKey |
protected String |
certificateKeyProvider |
protected IExternalDecryptionProcess |
externalDecryptionProcess |
protected MemoryLimitsAwareHandler |
memoryLimitsAwareHandler |
protected byte[] |
password |
Constructor and Description |
---|
ReaderProperties() |
Modifier and Type | Method and Description |
---|---|
ReaderProperties |
setMemoryLimitsAwareHandler(MemoryLimitsAwareHandler memoryLimitsAwareHandler)
Sets the memory handler which will be used to handle decompressed pdf streams.
|
ReaderProperties |
setPassword(byte[] password)
Defines the password which will be used if the document is encrypted with standard encryption.
|
ReaderProperties |
setPublicKeySecurityParams(Certificate certificate, IExternalDecryptionProcess externalDecryptionProcess)
Defines the certificate which will be used if the document is encrypted with public key encryption.
|
ReaderProperties |
setPublicKeySecurityParams(Certificate certificate, Key certificateKey, String certificateKeyProvider, IExternalDecryptionProcess externalDecryptionProcess)
Defines the certificate which will be used if the document is encrypted with public key encryption.
|
protected byte[] password
protected Key certificateKey
protected Certificate certificate
protected String certificateKeyProvider
protected IExternalDecryptionProcess externalDecryptionProcess
protected MemoryLimitsAwareHandler memoryLimitsAwareHandler
public ReaderProperties setPassword(byte[] password)
password
- the password to use in order to open the document.
public ReaderProperties setPublicKeySecurityParams(Certificate certificate, Key certificateKey, String certificateKeyProvider, IExternalDecryptionProcess externalDecryptionProcess)
public ReaderProperties setPublicKeySecurityParams(Certificate certificate, IExternalDecryptionProcess externalDecryptionProcess)
public ReaderProperties setMemoryLimitsAwareHandler(MemoryLimitsAwareHandler memoryLimitsAwareHandler)
memoryLimitsAwareHandler
- the memory handler which will be used to handle decompressed pdf streams
ReaderProperties
instance.
Copyright © 1998–2020 iText Group NV. All rights reserved.