HIP Constant Enumerations¶
This module contains all constant enumerations of
HIP implementations. Available
enumerations include:
HIP Certificate Types [*] |
|
HIP Cipher IDs [†] |
|
DI-Types [‡] |
|
ECDSA Curve Label [§] |
|
ECDSA_LOW Curve Label [¶] |
|
EdDSA Curve Label [#] |
|
ESP Transform Suite IDs [♠] |
|
Group IDs [♥] |
|
HI Algorithm [♦] |
|
HIT Suite IDs [♣] |
|
HIP NAT Traversal Modes [**] |
|
Notify Message Types [††] |
|
Packet Types [‡‡] |
|
Parameter Types [§§] |
|
Registration Types [¶¶] |
|
Registration Failure Types [##] |
|
Suite IDs [♠♠] |
|
HIP Transport Modes [♥♥] |
HIP Certificate Types¶
This module contains the constant enumeration for HIP Certificate Types,
which is automatically generated from pcapkit.vendor.hip.certificate.Certificate.
- class pcapkit.const.hip.certificate.Certificate(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Certificate] HIP Certificate Types
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Cipher IDs¶
This module contains the constant enumeration for Cipher IDs,
which is automatically generated from pcapkit.vendor.hip.cipher.Cipher.
- class pcapkit.const.hip.cipher.Cipher(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Cipher] Cipher IDs
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
DI-Types¶
This module contains the constant enumeration for DI-Types,
which is automatically generated from pcapkit.vendor.hip.di.DITypes.
- class pcapkit.const.hip.di.DITypes(*values)[source]¶
Bases:
EnumRegistry,IntEnum[DITypes] DI-Types
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
ECDSA Curve Label¶
This module contains the constant enumeration for ECDSA Curve Label,
which is automatically generated from pcapkit.vendor.hip.ecdsa_curve.ECDSACurve.
- class pcapkit.const.hip.ecdsa_curve.ECDSACurve(*values)[source]¶
Bases:
EnumRegistry,IntEnum[ECDSACurve] ECDSA Curve Label
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
ECDSA_LOW Curve Label¶
This module contains the constant enumeration for ECDSA_LOW Curve Label,
which is automatically generated from pcapkit.vendor.hip.ecdsa_low_curve.ECDSALowCurve.
- class pcapkit.const.hip.ecdsa_low_curve.ECDSALowCurve(*values)[source]¶
Bases:
EnumRegistry,IntEnum[ECDSALowCurve] ECDSA_LOW Curve Label
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
EdDSA Curve Label¶
This module contains the constant enumeration for EdDSA Curve Label,
which is automatically generated from pcapkit.vendor.hip.eddsa_curve.EdDSACurve.
- class pcapkit.const.hip.eddsa_curve.EdDSACurve(*values)[source]¶
Bases:
EnumRegistry,IntEnum[EdDSACurve] EdDSA Curve Label
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
ESP Transform Suite IDs¶
This module contains the constant enumeration for ESP Transform Suite IDs,
which is automatically generated from pcapkit.vendor.hip.esp_transform_suite.ESPTransformSuite.
- class pcapkit.const.hip.esp_transform_suite.ESPTransformSuite(*values)[source]¶
Bases:
EnumRegistry,IntEnum[ESPTransformSuite] ESP Transform Suite IDs
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Group IDs¶
This module contains the constant enumeration for Group IDs,
which is automatically generated from pcapkit.vendor.hip.group.Group.
- class pcapkit.const.hip.group.Group(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Group] Group IDs
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
HI Algorithm¶
This module contains the constant enumeration for HI Algorithm,
which is automatically generated from pcapkit.vendor.hip.hi_algorithm.HIAlgorithm.
- class pcapkit.const.hip.hi_algorithm.HIAlgorithm(*values)[source]¶
Bases:
EnumRegistry,IntEnum[HIAlgorithm] HI Algorithm
- Unassigned_2 = 2¶
Unassigned
- Unassigned_4 = 4¶
Unassigned
- Unassigned_6 = 6¶
Unassigned
- Unassigned_8 = 8¶
Unassigned
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
HIT Suite ID¶
This module contains the constant enumeration for HIT Suite ID,
which is automatically generated from pcapkit.vendor.hip.hit_suite.HITSuite.
- class pcapkit.const.hip.hit_suite.HITSuite(*values)[source]¶
Bases:
EnumRegistry,IntEnum[HITSuite] HIT Suite ID
- Unassigned_4 = 4¶
Unassigned
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
HIP NAT Traversal Modes¶
This module contains the constant enumeration for HIP NAT Traversal Modes,
which is automatically generated from pcapkit.vendor.hip.nat_traversal.NATTraversal.
- class pcapkit.const.hip.nat_traversal.NATTraversal(*values)[source]¶
Bases:
EnumRegistry,IntEnum[NATTraversal] HIP NAT Traversal Modes
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Notify Message Types¶
This module contains the constant enumeration for Notify Message Types,
which is automatically generated from pcapkit.vendor.hip.notify_message.NotifyMessage.
- class pcapkit.const.hip.notify_message.NotifyMessage(*values)[source]¶
Bases:
EnumRegistry,IntEnum[NotifyMessage] Notify Message Types
- Unassigned_25 = 25¶
Unassigned
- Unassigned_27 = 27¶
Unassigned
- Unassigned_41 = 41¶
Unassigned
- Unassigned_43 = 43¶
Unassigned
- Unassigned_45 = 45¶
Unassigned
- Unassigned_47 = 47¶
Unassigned
- Unassigned_49 = 49¶
Unassigned
- SERVER_REFLEXIVE_CANDIDATE_ALLOCATION_FAILED = 63¶
SERVER_REFLEXIVE_CANDIDATE_ALLOCATION_FAILED [RFC 9028]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
HIP Packet Types¶
This module contains the constant enumeration for HIP Packet Types,
which is automatically generated from pcapkit.vendor.hip.packet.Packet.
- class pcapkit.const.hip.packet.Packet(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Packet] HIP Packet Types
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
HIP Parameter Types¶
This module contains the constant enumeration for HIP Parameter Types,
which is automatically generated from pcapkit.vendor.hip.parameter.Parameter.
- class pcapkit.const.hip.parameter.Parameter(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Parameter] HIP Parameter Types
- Unassigned_512 = 512¶
Unassigned
- Unassigned_578 = 578¶
Unassigned
- Unassigned_609 = 609¶
Unassigned
- Unassigned_931 = 931¶
Unassigned
- Unassigned_933 = 933¶
Unassigned
- Unassigned_935 = 935¶
Unassigned
- Unassigned_65499 = 65499¶
Unassigned
- Unassigned_65501 = 65501¶
Unassigned
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Registration Failure Types¶
This module contains the constant enumeration for Registration Failure Types,
which is automatically generated from pcapkit.vendor.hip.registration_failure.RegistrationFailure.
- class pcapkit.const.hip.registration_failure.RegistrationFailure(*values)[source]¶
Bases:
EnumRegistry,IntEnum[RegistrationFailure] Registration Failure Types
- Registration_requires_additional_credentials = 0¶
Registration requires additional credentials [RFC 8003]
Registration type unavailable [RFC 8003]
- Simultaneous_Rendezvous_and_Control_Relay_Service_usage_prohibited = 9¶
Simultaneous Rendezvous and Control Relay Service usage prohibited [RFC 9028]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Registration Types¶
This module contains the constant enumeration for Registration Types,
which is automatically generated from pcapkit.vendor.hip.registration.Registration.
- class pcapkit.const.hip.registration.Registration(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Registration] Registration Types
- Unassigned_0 = 0¶
Unassigned
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Suite IDs¶
This module contains the constant enumeration for Suite IDs,
which is automatically generated from pcapkit.vendor.hip.suite.Suite.
- class pcapkit.const.hip.suite.Suite(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Suite] Suite IDs
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
HIP Transport Modes¶
This module contains the constant enumeration for HIP Transport Modes,
which is automatically generated from pcapkit.vendor.hip.transport.Transport.
- class pcapkit.const.hip.transport.Transport(*values)[source]¶
Bases:
EnumRegistry,IntEnum[Transport] HIP Transport Modes
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Footnotes