NAME
STIX::Observable::Type::EmailMIMEPart - STIX Cyber-observable Object (SCO) - Email MIME Component Type
SYNOPSIS
use STIX::Observable::Type::EmailMIMEPart;
my $mime_part_type = STIX::Observable::Type::EmailMIMEPart->new();
DESCRIPTION
Specifies a component of a multi-part email body.
https://docs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html#_qpo5x7d8mefq
METHODS
STIX::Observable::Type::EmailMIMEPart inherits all methods from STIX::Common::Properties and implements the following new ones.
- STIX::Observable::Type::EmailMIMEPart->new(%properties)
-
Create a new instance of STIX::Observable::Type::EmailMIMEPart.
- $mime_part_type->body
-
Specifies the contents of the MIME part if the content_type is not provided OR starts with text/
- $mime_part_type->body_raw_ref
-
Specifies the contents of non-textual MIME parts, that is those whose content_type does not start with text/, as a reference to an STIX::Observable::Artifact Object or STIX::Observable::File Object.
- $mime_part_type->content_disposition
-
Specifies the value of the 'Content-Disposition' header field of the MIME part.
- $mime_part_type->content_type
-
Specifies the value of the 'Content-Type' header field of the MIME part.
HELPERS
- $mime_part_type->TO_JSON
-
Helper for JSON encoders.
- $mime_part_type->to_hash
-
Return the object HASH.
- $mime_part_type->to_string
-
Encode the object in JSON.
- $mime_part_type->validate
-
Validate the object using JSON Schema (see STIX::Schema).
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at https://github.com/giterlizzi/perl-STIX/issues. You will be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/giterlizzi/perl-STIX
git clone https://github.com/giterlizzi/perl-STIX.git
AUTHOR
Giuseppe Di Terlizzi <gdt@cpan.org>
LICENSE AND COPYRIGHT
This software is copyright (c) 2024 by Giuseppe Di Terlizzi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.