Module: Origami::Encryption::EncryptedDocument
- Defined in:
- lib/origami/encryption.rb
Instance Attribute Summary collapse
-
#crypt_filters ⇒ Object
Returns the value of attribute crypt_filters.
-
#encryption_handler ⇒ Object
Returns the value of attribute encryption_handler.
-
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
-
#stm_filter ⇒ Object
Returns the value of attribute stm_filter.
-
#str_filter ⇒ Object
Returns the value of attribute str_filter.
Instance Method Summary collapse
-
#encryption_cipher(name) ⇒ Object
Get the encryption cipher from the crypt filter name.
-
#stream_encryption_cipher ⇒ Object
Get the default stream encryption cipher.
-
#string_encryption_cipher ⇒ Object
Get the default string encryption cipher.
Instance Attribute Details
#crypt_filters ⇒ Object
Returns the value of attribute crypt_filters.
316 317 318 |
# File 'lib/origami/encryption.rb', line 316 def crypt_filters @crypt_filters end |
#encryption_handler ⇒ Object
Returns the value of attribute encryption_handler.
314 315 316 |
# File 'lib/origami/encryption.rb', line 314 def encryption_handler @encryption_handler end |
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
313 314 315 |
# File 'lib/origami/encryption.rb', line 313 def encryption_key @encryption_key end |
#stm_filter ⇒ Object
Returns the value of attribute stm_filter.
315 316 317 |
# File 'lib/origami/encryption.rb', line 315 def stm_filter @stm_filter end |
#str_filter ⇒ Object
Returns the value of attribute str_filter.
315 316 317 |
# File 'lib/origami/encryption.rb', line 315 def str_filter @str_filter end |
Instance Method Details
#encryption_cipher(name) ⇒ Object
Get the encryption cipher from the crypt filter name.
319 320 321 |
# File 'lib/origami/encryption.rb', line 319 def encryption_cipher(name) @crypt_filters[name] end |
#stream_encryption_cipher ⇒ Object
Get the default stream encryption cipher.
329 330 331 |
# File 'lib/origami/encryption.rb', line 329 def stream_encryption_cipher encryption_cipher @stm_filter end |
#string_encryption_cipher ⇒ Object
Get the default string encryption cipher.
324 325 326 |
# File 'lib/origami/encryption.rb', line 324 def string_encryption_cipher encryption_cipher @str_filter end |