public class EncryptionSettings extends Object
Modifier and Type | Field and Description |
---|---|
String |
algorithm |
Integer |
bitLength |
Boolean |
encryptAttachmentsOnly |
Boolean |
encryptMetadata |
Boolean |
hasOwnerPassword |
Boolean |
hasUserPassword |
Constructor and Description |
---|
EncryptionSettings() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Returns a string specifying the encryption algorithm used to encrypt the specified PDF file - e.g.
|
Integer |
getBitLength()
Returns the number of bits in the key used by a cryptographic algorithm to encrypt the specified PDF file.
|
Boolean |
isMetadataEncrypted()
Returns a boolean specifying whether the metadata of the specified PDF file is encrypted or not.
|
Boolean |
isOwnerPasswordSet()
Returns a boolean specifying whether the owner password is set for the specified PDF file.
|
Boolean |
isUserPasswordSet()
Returns a boolean specifying whether the user password is set for the specified PDF file.
|
Boolean |
onlyAttachmentsEncrypted()
Returns a boolean specifying whether only the file attachments in the specified PDF file are encrypted.
|
public Boolean encryptAttachmentsOnly
public Boolean hasOwnerPassword
public Boolean encryptMetadata
public Boolean hasUserPassword
public Integer bitLength
public String algorithm
public Boolean onlyAttachmentsEncrypted()
true
if only the file attachments in the specified PDF file are encrypted. False otherwise.public Boolean isOwnerPasswordSet()
true
if the owner password is set for the specified PDF file. False otherwise.public Boolean isMetadataEncrypted()
true
if the metadata of the specified PDF file is encrypted. False otherwise.public Boolean isUserPasswordSet()
true
if the user password is set for the specified PDF file. False otherwise.public Integer getBitLength()
public String getAlgorithm()
Copyright © 2023 Adobe. All rights reserved.