otupy.core.encoder.Encoders

class Encoders(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

List of available Encoders

This list can be used in Transfer protocols to select the correct class to decode an incoming OpenC2 Message based on its metadata. The list is created as enumeration, which associate the name of the encoding formats to the class that implements it.

Methods

Attributes

dictionary

json

cbor

yaml

xml

__init__(*args, **kwds)