openc2lib.profiles.slpf.targettypes

SLPF additional data types

This modules defines additional data types specific for the SLPF profile.

 1""" SLPF additional data types
 2
 3	This modules defines additional data types specific for the SLPF profile.
 4"""
 5
 6class RuleID(int):
 7	""" OpenC2 Rule-ID
 8
 9		Rule identifier returned from allow or deny Command.
10		See Sec. 2.1.3.2 of the SLPF Specification.
11
12		The definition is rather trivial in this case, because the Specification
13		defines this type as an integer.
14	"""
15	pass
class RuleID(builtins.int):
 7class RuleID(int):
 8	""" OpenC2 Rule-ID
 9
10		Rule identifier returned from allow or deny Command.
11		See Sec. 2.1.3.2 of the SLPF Specification.
12
13		The definition is rather trivial in this case, because the Specification
14		defines this type as an integer.
15	"""
16	pass

OpenC2 Rule-ID

Rule identifier returned from allow or deny Command. See Sec. 2.1.3.2 of the SLPF Specification.

The definition is rather trivial in this case, because the Specification defines this type as an integer.

Inherited Members
builtins.int
conjugate
bit_length
bit_count
to_bytes
from_bytes
as_integer_ratio
real
imag
numerator
denominator