Class: Saml::Elements::Signature::SignedInfo

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/saml/elements/signature/signed_info.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ SignedInfo

Returns a new instance of SignedInfo.



14
15
16
17
18
19
20
# File 'lib/saml/elements/signature/signed_info.rb', line 14

def initialize(*args)
  @canonicalization_method = CanonicalizationMethod.new
  @signature_method        = SignatureMethod.new
  super(*args)
  options    = args.extract_options!
  @reference ||= Reference.new(:uri => options.delete(:uri), :digest_value => options.delete(:digest_value))
end