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 byte[] |
password |
Constructor and Description |
---|
ReaderProperties() |
Modifier and Type | Method and Description |
---|---|
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
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)
Copyright © 1998–2018 iText Group NV. All rights reserved.