class OpenPGP::Packet::IntegrityProtectedData
OpenPGP
Sym. Encrypted Integrity Protected Data packet (tag 18).
Attributes
version[RW]
Public Class Methods
parse_body(body, options = {})
click to toggle source
# File lib/openpgp/packet.rb, line 476 def self.parse_body(body, options = {}) case version = body.read_byte when 1 self.new(:version => version) # TODO: read the encrypted data. else raise "Invalid OpenPGP integrity-protected data packet version: #{version}" end end