Module: ActiveCipherStorage

Defined in:
lib/active_cipher_storage.rb,
lib/active_cipher_storage/cipher.rb,
lib/active_cipher_storage/engine.rb,
lib/active_cipher_storage/errors.rb,
lib/active_cipher_storage/format.rb,
lib/active_cipher_storage/version.rb,
lib/active_cipher_storage/key_utils.rb,
lib/active_cipher_storage/blob_metadata.rb,
lib/active_cipher_storage/configuration.rb,
lib/active_cipher_storage/stream_cipher.rb,
lib/active_cipher_storage/providers/base.rb,
lib/active_cipher_storage/multipart_upload.rb,
lib/active_cipher_storage/adapters/s3_adapter.rb,
lib/active_cipher_storage/providers/env_provider.rb,
lib/active_cipher_storage/providers/aws_kms_provider.rb

Defined Under Namespace

Modules: Adapters, BlobMetadata, Errors, Format, KeyUtils, Providers Classes: Cipher, Configuration, EncryptedMultipartUpload, Engine, StreamCipher

Constant Summary collapse

Error =

Convenience aliases at the top-level namespace.

Errors::Error
InvalidFormat =
Errors::InvalidFormat
DecryptionError =
Errors::DecryptionError
ProviderError =
Errors::ProviderError
KeyManagementError =
Errors::KeyManagementError
UnsupportedOperation =
Errors::UnsupportedOperation
VERSION =
"2.0.0"

Class Method Summary collapse

Class Method Details

.configurationObject



29
30
31
# File 'lib/active_cipher_storage.rb', line 29

def configuration
  @configuration
end

.configureObject



33
34
35
# File 'lib/active_cipher_storage.rb', line 33

def configure
  @config_mutex.synchronize { yield @configuration }
end

.reset_configuration!Object



37
38
39
# File 'lib/active_cipher_storage.rb', line 37

def reset_configuration!
  @config_mutex.synchronize { @configuration = Configuration.new }
end