otupy.types.targets.iri.IRI

class IRI(iri)

Bases: object

OpenC2 IRI

Implements the iri target (Section 3.4.1.13). Internationalized Resource Identifier, [RFC3987].

Methods

get

Returns the iri as string

set

Value must be an Internationalized Resource Identifier (IRI) as defined in [RFC3987]

__init__(iri)
get()

Returns the iri as string

set(iri)

Value must be an Internationalized Resource Identifier (IRI) as defined in [RFC3987]