Class: Saml::Elements::Signature
- Inherits:
-
Object
- Object
- Saml::Elements::Signature
- Includes:
- Base
- Defined in:
- lib/saml/elements/signature.rb,
lib/saml/elements/signature/reference.rb,
lib/saml/elements/signature/transform.rb,
lib/saml/elements/signature/transforms.rb,
lib/saml/elements/signature/signed_info.rb,
lib/saml/elements/signature/digest_method.rb,
lib/saml/elements/signature/signature_method.rb,
lib/saml/elements/signature/inclusive_namespaces.rb,
lib/saml/elements/signature/canonicalization_method.rb
Defined Under Namespace
Classes: CanonicalizationMethod, DigestMethod, InclusiveNamespaces, Reference, SignatureMethod, SignedInfo, Transform, Transforms
Instance Method Summary collapse
-
#initialize(*args) ⇒ Signature
constructor
A new instance of Signature.
- #key_name ⇒ Object
Constructor Details
#initialize(*args) ⇒ Signature
Returns a new instance of Signature.
24 25 26 27 28 29 |
# File 'lib/saml/elements/signature.rb', line 24 def initialize(*args) super(*args) = args. @signed_info ||= SignedInfo.new(:uri => .delete(:uri), :digest_value => .delete(:digest_value)) @key_info ||= KeyInfo.new end |
Instance Method Details
#key_name ⇒ Object
31 32 33 |
# File 'lib/saml/elements/signature.rb', line 31 def key_name @key_info.try(:key_name) end |