# File lib/nanite/security/rsa_key_pair.rb, line 34 def self.from_data(data) res = RsaKeyPair.allocate res.instance_variable_set(:@raw_key, OpenSSL::PKey::RSA.new(data)) res end