NAME

STIX::Observable::Type::X509V3Extensions - STIX Cyber-observable Object (SCO) - X.509 v3 Extensions Type

SYNOPSIS

use STIX::Observable::Type::X509V3Extensions;

my $x509_v3_extensions_type = STIX::Observable::Type::X509V3Extensions->new();

DESCRIPTION

Specifies any standard X.509 v3 extensions that may be used in the certificate.

METHODS

STIX::Observable::Type::X509V3Extensions inherits all methods from STIX::Object and implements the following new ones.

STIX::Observable::Type::X509V3Extensions->new(%properties)

Create a new instance of STIX::Observable::Type::X509V3Extensions.

$x509_v3_extensions_type->authority_key_identifier

Specifies the identifier that provides a means of identifying the public key corresponding to the private key used to sign a certificate.

$x509_v3_extensions_type->basic_constraints

Specifies a multi-valued extension which indicates whether a certificate is a CA certificate.

$x509_v3_extensions_type->certificate_policies

Specifies a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.

$x509_v3_extensions_type->crl_distribution_points

Specifies how CRL information is obtained.

$x509_v3_extensions_type->extended_key_usage

Specifies a list of usages indicating purposes for which the certificate public key can be used for.

$x509_v3_extensions_type->inhibit_any_policy

Specifies the number of additional certificates that may appear in the path before anyPolicy is no longer permitted.

$x509_v3_extensions_type->issuer_alternative_name

Specifies the additional identities to be bound to the issuer of the certificate.

$x509_v3_extensions_type->key_usage

Specifies a multi-valued extension consisting of a list of names of the permitted key usages.

$x509_v3_extensions_type->name_constraints

Specifies a namespace within which all subject names in subsequent certificates in a certification path MUST be located.

$x509_v3_extensions_type->policy_constraints

Specifies any constraints on path validation for certificates issued to CAs.

$x509_v3_extensions_type->policy_mappings

Specifies one or more pairs of OIDs; each pair includes an issuerDomainPolicy and a subjectDomainPolicy

$x509_v3_extensions_type->private_key_usage_period_not_after

Specifies the date on which the validity period ends for the private key, if it is different from the validity period of the certificate.

$x509_v3_extensions_type->private_key_usage_period_not_before

Specifies the date on which the validity period begins for the private key, if it is different from the validity period of the certificate.

$x509_v3_extensions_type->subject_alternative_name

Specifies the additional identities to be bound to the subject of the certificate.

$x509_v3_extensions_type->subject_directory_attributes

Specifies the identification attributes (e.g., nationality) of the subject.

$x509_v3_extensions_type->subject_key_identifier

Specifies the identifier that provides a means of identifying certificates that contain a particular public key.

HELPERS

$x509_v3_extensions_type->TO_JSON

Encode the object in JSON.

$x509_v3_extensions_type->to_hash

Return the object HASH.

$x509_v3_extensions_type->to_string

Encode the object in JSON.

$x509_v3_extensions_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.