NAME
STIX::Observable::X509Certificate - STIX Cyber-observable Object (SCO) - X.509 Certificate
SYNOPSIS
use STIX::Observable::X509Certificate;
my $x509_certificate = STIX::Observable::X509Certificate->new();
DESCRIPTION
The X509 Certificate Object represents the properties of an X.509 certificate.
METHODS
STIX::Observable::X509Certificate inherits all methods from STIX::Observable and implements the following new ones.
- STIX::Observable::X509Certificate->new(%properties)
-
Create a new instance of STIX::Observable::X509Certificate.
- $x509_certificate->hashes
-
Specifies any hashes that were calculated for the entire contents of the certificate.
- $x509_certificate->id
- $x509_certificate->is_self_signed
-
Specifies whether the certificate is self-signed, i.e., whether it is signed by the same entity whose identity it certifies.
- $x509_certificate->issuer
-
Specifies the name of the Certificate Authority that issued the certificate.
- $x509_certificate->serial_number
-
Specifies the unique identifier for the certificate, as issued by a specific Certificate Authority.
- $x509_certificate->signature_algorithm
-
Specifies the name of the algorithm used to sign the certificate.
- $x509_certificate->subject
-
Specifies the name of the entity associated with the public key stored in the subject public key field of the certificate.
- $x509_certificate->subject_public_key_algorithm
-
Specifies the name of the algorithm with which to encrypt data being sent to the subject.
- $x509_certificate->subject_public_key_exponent
-
Specifies the exponent portion of the subject’s public RSA key, as an integer.
- $x509_certificate->subject_public_key_modulus
-
Specifies the modulus portion of the subject’s public RSA key.
- $x509_certificate->type
-
The value of this property MUST be
x509-certificate
. - $x509_certificate->validity_not_after
-
Specifies the date on which the certificate validity period ends.
- $x509_certificate->validity_not_before
-
Specifies the date on which the certificate validity period begins.
- $x509_certificate->version
-
Specifies the version of the encoded certificate.
- $x509_certificate->x509_v3_extensions
-
Specifies any standard X.509 v3 extensions that may be used in the certificate.
HELPERS
- $x509_certificate->TO_JSON
-
Encode the object in JSON.
- $x509_certificate->to_hash
-
Return the object HASH.
- $x509_certificate->to_string
-
Encode the object in JSON.
- $x509_certificate->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.