class SAML::Metadata::KeyDescriptor
Attributes
key_info[RW]
use[RW]
x509_certificate[RW]
Public Class Methods
from_xml(xml)
click to toggle source
# File lib/saml/metadata/key_descriptor.rb, line 9 def self.from_xml(xml); new.from_xml(xml); end
Public Instance Methods
from_xml(xml)
click to toggle source
# File lib/saml/metadata/key_descriptor.rb, line 11 def from_xml(xml) @use = xml.attributes['use'] @x509_certificate = REXML::XPath.first(xml, '//ds:X509Certificate').text self end