Class: Rex::Proto::CryptoAsn1::Cms::ContentInfo
- Inherits:
-
RASN1::Model
- Object
- RASN1::Model
- Rex::Proto::CryptoAsn1::Cms::ContentInfo
- Defined in:
- lib/rex/proto/crypto_asn1/cms.rb
Instance Method Summary collapse
Instance Method Details
#enveloped_data ⇒ Object
336 337 338 339 340 |
# File 'lib/rex/proto/crypto_asn1/cms.rb', line 336 def enveloped_data if self[:content_type].value == Rex::Proto::CryptoAsn1::OIDs::OID_CMS_ENVELOPED_DATA.value EnvelopedData.parse(self[:data].value) end end |
#signed_data ⇒ Object
342 343 344 345 346 |
# File 'lib/rex/proto/crypto_asn1/cms.rb', line 342 def signed_data if self[:content_type].value == Rex::Proto::CryptoAsn1::OIDs::OID_CMS_SIGNED_DATA.value SignedData.parse(self[:data].value) end end |