SecureBlackbox 2020 macOS Edition

Questions / Feedback?

ArchivedFile Type

Provides information about the compressed file.

Remarks

Use this type to access compressed file details.

Fields

action
Actions

The action to apply to the file.

Use this property to control the action that should be applied to the file during the compression or extraction. The following actions are supported:

atAdd (0)Add the file to the archive
atKeep (1)Keep the existing file in the archive
atUpdate (2)Update the archived file with a fresher copy
atDelete (3)Delete the file from the archive
atExtract (4)Extract the file (extraction only)
atSkip (5)Skip file extraction (extraction only)

compressedSize
Int64

The size of the file after compression.

dataSource
FileDataSources

The type of the data source for this entry.

Use this property to control the data source for this entry.

fdsFile (0)The data for this entry should be taken from the file provided via LocalPath.
fdsStream (1)The data is going to be provided on-the-fly via the FileStream property.
fdsBuffer (2)The data is going to be provided on-the-fly via the FileData property.

directory
Bool

Tells if the entry is a directory or a regular file.

encryptionAlgorithm
String

Returns the symmetric algorithm that was used to encrypt the file.

encryptionKeyLength
Int32

Returns the length, in bits, of the encryption key.

encryptionType
EncryptionTypes

The type of encryption applied to the file.

Use this property to find out what kind of encryption was applied to the file.

aetDefault (0)Default encryption (not used for already encrypted files)
aetNoEncryption (1)No encryption
aetGeneric (2)Standard ZIP encryption
aetWinZip (3)WinZIP-based encryption
aetStrong (4)Strong encryption

fileName
String

The original name of the compressed file or folder.

folder
String

The containing folder of the entry.

localPath
String

The local path associated with this entry. It typically specifies the source path that the data should be taken from, or the destination it should be extracted to.

mTime
String

The entry's last modification time.

newFile
Bool

Indicates whether the entry corresponds to a file to be added to the archive.

path
String

The full internal path of the archived entry.

signatureCount
Int32

The number of signatures covering the entry.

signed
Bool

Indicates whether the entry is signed.

size
Int64

The size of the file before compression.

Constructors

public init()

Creates a new ArchivedFile object.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 macOS Edition - Version 20.0 [Build 8165]