Class EncryptionSettings
This class provides information about the encryption settings of the specified PDF file, such as user and owner passwords, encryption algorithm etc.
Inheritance
Namespace: Adobe.PDFServicesSDK.pdfjobs.results.pdfproperties
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class EncryptionSettings
Properties
Algorithm
Gets a String specifying the encryption algorithm used to encrypt the specified PDF file - e.g. "AES" etc. The name of the encryption algorithm used to encrypt the specified PDF file.
Declaration
public string Algorithm { get; }
Property Value
Type | Description |
---|---|
System.String |
BitLength
Gets the number of bits in the key used by a cryptographic algorithm to encrypt the specified PDF file. The number of bits in the key used by a cryptographic algorithm.
Declaration
public long BitLength { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
IsMetadataEncrypted
Gets a Boolean specifying whether the metadata of the specified PDF file is encrypted. True if the metadata of the specified PDF file is encrypted. False otherwise.
Declaration
public bool IsMetadataEncrypted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsOwnerPasswordSet
Gets a Boolean specifying whether the owner password is set for the specified PDF file. True if the owner password is set for the specified PDF file. False otherwise.
Declaration
public bool IsOwnerPasswordSet { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsUserPasswordSet
Gets a Boolean specifying whether the user password is set for the specified PDF file. True if the user password is set for the specified PDF file. False otherwise.
Declaration
public bool IsUserPasswordSet { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
OnlyAttachmentsEncrypted
Gets a Boolean specifying whether only the file attachments in the specified PDF file are encrypted. True if only the file attachments in the specified PDF file are encrypted. False otherwise.
Declaration
public bool OnlyAttachmentsEncrypted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |