Class: Saml::Kit::Builders::EncryptedAssertion
- Inherits:
-
Object
- Object
- Saml::Kit::Builders::EncryptedAssertion
- 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
Instance Attribute Summary collapse
-
#assertion ⇒ Object
readonly
Returns the value of attribute assertion.
-
#destination ⇒ Object
Returns the value of attribute destination.
Instance Method Summary collapse
-
#initialize(response_builder, assertion) ⇒ EncryptedAssertion
constructor
A new instance of EncryptedAssertion.
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
#assertion ⇒ Object (readonly)
Returns the value of attribute assertion.
12 13 14 |
# File 'lib/saml/kit/builders/encrypted_assertion.rb', line 12 def assertion @assertion end |
#destination ⇒ Object
Returns the value of attribute destination.
13 14 15 |
# File 'lib/saml/kit/builders/encrypted_assertion.rb', line 13 def destination @destination end |