e-CryptIt Engine Xojo Plugin

AppleSingle Class (console safe)

To handle AppleSingle and AppleDouble encoding and decoding.

Note
Due to the nature of the algorithm, there is no OnReadEncoded event for in place decoding.
The reason is that the algorithm requires jumps within the file while decoding it.

Object
   AppleSingle

class AppleSingle

Methods

Abort (console safe) To abort decoding, call Abort from the events used by the decoder. To abort encoding, simply return a non-zero value from the encoding event.
Decode (console safe) To start to decode a file. If you inherit from the class then you can receive events from it, such as status event and event to affect the name of the decoded file.
Encode (console safe) To start to encode a file. If you inherit from the class then you can receive events from it, such as status event and event for in place encoding.
SetLocation (console safe) SetLocation can only be called from the OnNameIsKnown event to change the location and name of the output file.

Events

OnNameIsKnownThis event is fired when the name of a decoded file is known.
OnStatusThis event fires events up about the current encoding or decoding status.
OnWriteEncodedThis event is fired when the encoder has encoded data ready to be written to a file or a socket. This event is fired only when nil is used as the output file parameter.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit

    Unsupported Platforms:

  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM