Sha256: c2c4051385433e0d585b06c3334170591fcd5cba77a9d8021e9446db3194277b

Contents?: true

Size: 859 Bytes

Versions: 1027

Compression:

Stored size: 859 Bytes

Contents

module Aws
  module S3
    module Encryption

      # This module defines the interface required for a {Client#key_provider}.
      # A key provider is any object that:
      #
      # * Responds to {#encryption_materials} with an {Materials} object.
      #
      # * Responds to {#key_for}, receiving a JSON document String,
      #   returning an encryption key. The returned encryption key
      #   must be one of:
      #
      #   * `OpenSSL::PKey::RSA` - for asymmetric encryption
      #   * `String` - 32, 24, or 16 bytes long, for symmetric encryption
      #
      module KeyProvider

        # @return [Materials]
        def encryption_materials; end

        # @param [String<JSON>] materials_description
        # @return [OpenSSL::PKey::RSA, String] encryption_key
        def key_for(materials_description); end

      end
    end
  end
end

Version data entries

1,027 entries across 1,027 versions & 3 rubygems

Version Path
aws-sdk-resources-2.11.448 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.447 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.446 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.445 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.3.23 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.444 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.443 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.442 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.441 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-s3-1.60.2 lib/aws-sdk-s3/encryption/key_provider.rb
aws-sdk-resources-2.11.440 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.439 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.438 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.437 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.436 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.435 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.434 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.433 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.432 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb
aws-sdk-resources-2.11.431 lib/aws-sdk-resources/services/s3/encryption/key_provider.rb