class OpenPGP::Packet::EncryptedData
OpenPGP
Symmetrically Encrypted Data packet (tag 9).
Attributes
data[RW]
Public Class Methods
new(options = {}, &block)
click to toggle source
Calls superclass method
OpenPGP::Packet::new
# File lib/openpgp/packet.rb, line 345 def initialize(options = {}, &block) super(options, &block) end
parse_body(body, options = {})
click to toggle source
# File lib/openpgp/packet.rb, line 341 def self.parse_body(body, options = {}) self.new({:data => body.read}.merge(options)) end
Public Instance Methods
write_body(buffer)
click to toggle source
# File lib/openpgp/packet.rb, line 349 def write_body(buffer) buffer.write(data) end