Class: Rex::Proto::CryptoAsn1::Cms::ContentInfo

Inherits:
RASN1::Model
  • Object
show all
Defined in:
lib/rex/proto/crypto_asn1/cms.rb

Instance Method Summary collapse

Instance Method Details

#enveloped_dataObject



246
247
248
249
250
# File 'lib/rex/proto/crypto_asn1/cms.rb', line 246

def enveloped_data
  if self[:content_type].value == Rex::Proto::CryptoAsn1::OIDs::OID_CMS_ENVELOPED_DATA.value
    EnvelopedData.parse(self[:data].value)
  end
end