Module: Origami::Encryption::EncryptedDocument

Defined in:
lib/origami/encryption.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#encryption_handlerObject

Returns the value of attribute encryption_handler.



246
247
248
# File 'lib/origami/encryption.rb', line 246

def encryption_handler
  @encryption_handler
end

#encryption_keyObject

Returns the value of attribute encryption_key.



245
246
247
# File 'lib/origami/encryption.rb', line 245

def encryption_key
  @encryption_key
end

Instance Method Details

#encryption_cipher(name) ⇒ Object

Get the encryption cipher from the crypt filter name.



249
250
251
# File 'lib/origami/encryption.rb', line 249

def encryption_cipher(name)
    @encryption_handler.encryption_cipher(name)
end

#stream_encryption_cipherObject

Get the default stream encryption cipher.



259
260
261
# File 'lib/origami/encryption.rb', line 259

def stream_encryption_cipher
    @encryption_handler.stream_encryption_cipher
end

#string_encryption_cipherObject

Get the default string encryption cipher.



254
255
256
# File 'lib/origami/encryption.rb', line 254

def string_encryption_cipher
    @encryption_handler.string_encryption_cipher
end