Class: Saml::Elements::KeyDescriptor

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

Defined Under Namespace

Modules: UseTypes

Instance Method Summary collapse

Instance Method Details

#certificateObject



24
25
26
# File 'lib/saml/elements/key_descriptor.rb', line 24

def certificate
  key_info.try(:x509Data).try(:x509certificate)
end

#certificate=(cert) ⇒ Object



28
29
30
# File 'lib/saml/elements/key_descriptor.rb', line 28

def certificate=(cert)
  self.key_info = KeyInfo.new(cert)
end