class HexaPDF::Encryption::SecurityHandler::EncryptedStreamData

Parent

Provides additional encryption specific information for HexaPDF::StreamData objects.

Attributes

algorithm[R]

The encryption algorithm.

key[R]

The encryption key.

Public Class Methods

new(obj, key, algorithm)

Creates a new encrypted stream data object by utilizing the given stream data object as template. The arguments key and algorithm are used for decrypting purposes.

Public Instance Methods

fiber(*args)

Returns a fiber like StreamData#fiber, but one wrapped in a decrypting fiber.

Calls superclass method
Also aliased as: undecrypted_fiber
undecrypted_fiber(*args)
Alias for: fiber