Class: Saml::Kit::Builders::EncryptedAssertion

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
XmlTemplatable
Defined in:
lib/saml/kit/builders/encrypted_assertion.rb

Overview

This class is responsible for encrypting an Assertion.

Constant Summary

Constants included from XmlTemplatable

XmlTemplatable::TEMPLATES_DIR

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XmlTemplatable

#digest_method, #sign?, #signature_method, #signing_key_pair, #template_name, #template_path

Constructor Details

#initialize(response_builder, assertion) ⇒ EncryptedAssertion

Returns a new instance of EncryptedAssertion


26
27
28
29
30
# File 'lib/saml/kit/builders/encrypted_assertion.rb', line 26

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

Instance Attribute Details

#assertionObject (readonly)

Returns the value of attribute assertion


12
13
14
# File 'lib/saml/kit/builders/encrypted_assertion.rb', line 12

def assertion
  @assertion
end

#destinationObject

Returns the value of attribute destination


13
14
15
# File 'lib/saml/kit/builders/encrypted_assertion.rb', line 13

def destination
  @destination
end