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
283 284 285 286 287 |
# File 'lib/rex/proto/crypto_asn1/cms.rb', line 283 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
289 290 291 292 293 |
# File 'lib/rex/proto/crypto_asn1/cms.rb', line 289 def signed_data if self[:content_type].value == Rex::Proto::CryptoAsn1::OIDs::OID_CMS_SIGNED_DATA.value SignedData.parse(self[:data].value) end end |