Sha256: d0ecd307a1cce81fa9c6b22740c2a305a3f58733897fe07c50117543e93a3ec8

Contents?: true

Size: 877 Bytes

Versions: 9

Compression:

Stored size: 877 Bytes

Contents

# frozen_string_literal: true

module Saml
  module Kit
    module Builders
      # This class is responsible for encrypting an Assertion.
      # {include:file:lib/saml/kit/builders/templates/encrypted_assertion.builder}
      class EncryptedAssertion
        include XmlTemplatable
        extend Forwardable

        attr_reader :assertion
        attr_accessor :destination
        def_delegators :@response_builder,
          :configuration,
          :encryption_certificate

        def_delegators :@assertion,
          :default_name_id_format,
          :default_name_id_format=,
          :destination=,
          :embed_signature,
          :issuer=,
          :now=

        def initialize(response_builder, assertion)
          @response_builder = response_builder
          @assertion = assertion
          @encrypt = true
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
saml-kit-1.3.0 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.2.0 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.1.0 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.0.31 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.0.30 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.0.29 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.0.28 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.0.27 lib/saml/kit/builders/encrypted_assertion.rb
saml-kit-1.0.26 lib/saml/kit/builders/encrypted_assertion.rb