HIP Constant Enumerations

This module contains all constant enumerations of HIP implementations. Available enumerations include:

HIP_Certificate

HIP Certificate Types [*]

HIP_Cipher

HIP Cipher IDs []

HIP_DITypes

DI-Types []

HIP_ECDSACurve

ECDSA Curve Label [§]

HIP_ECDSALowCurve

ECDSA_LOW Curve Label []

HIP_EdDSACurve

EdDSA Curve Label [#]

HIP_ESPTransformSuite

ESP Transform Suite IDs []

HIP_Group

Group IDs []

HIP_HIAlgorithm

HI Algorithm []

HIP_HITSuite

HIT Suite IDs []

HIP_NATTraversal

HIP NAT Traversal Modes [**]

HIP_NotifyMessage

Notify Message Types [††]

HIP_Packet

Packet Types [‡‡]

HIP_Parameter

Parameter Types [§§]

HIP_Registration

Registration Types [¶¶]

HIP_RegistrationFailure

Registration Failure Types [##]

HIP_Suite

Suite IDs [♠♠]

HIP_Transport

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Certificate] HIP Certificate Types

Reserved_0 = 0

Reserved [RFC 8002]

X_509_v3 = 1

X.509 v3 [RFC 8002]

Obsoleted_2 = 2

Obsoleted [RFC 8002]

Hash_and_URL_of_X_509_v3 = 3

Hash and URL of X.509 v3 [RFC 8002]

Obsoleted_4 = 4

Obsoleted [RFC 8002]

LDAP_URL_of_X_509_v3 = 5

LDAP URL of X.509 v3 [RFC 8002]

Obsoleted_6 = 6

Obsoleted [RFC 8002]

Distinguished_Name_of_X_509_v3 = 7

Distinguished Name of X.509 v3 [RFC 8002]

Obsoleted_8 = 8

Obsoleted [RFC 8002]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Certificate

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Cipher] Cipher IDs

RESERVED_0 = 0

RESERVED [RFC 7401]

NULL_ENCRYPT = 1

NULL-ENCRYPT [RFC 7401]

AES_128_CBC = 2

AES-128-CBC [RFC 7401]

RESERVED_3 = 3

RESERVED [RFC 7401]

AES_256_CBC = 4

AES-256-CBC [RFC 7401]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Cipher

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[DITypes] DI-Types

none_included = 0

none included [RFC 7401]

FQDN = 1

FQDN [RFC 7401]

NAI = 2

NAI [RFC 7401]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

DITypes

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[ECDSACurve] ECDSA Curve Label

RESERVED_0 = 0

RESERVED [RFC 7401]

NIST_P_256 = 1

NIST P-256 [RFC 7401]

NIST_P_384 = 2

NIST P-384 [RFC 7401]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

ECDSACurve

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[ECDSALowCurve] ECDSA_LOW Curve Label

RESERVED_0 = 0

RESERVED [RFC 7401]

SECP160R1 = 1

SECP160R1 [RFC 7401]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

ECDSALowCurve

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[EdDSACurve] EdDSA Curve Label

RESERVED_0 = 0

RESERVED [RFC 9374]

EdDSA25519 = 1

EdDSA25519 [RFC 8032]

EdDSA25519ph = 2

EdDSA25519ph [RFC 8032]

EdDSA448 = 3

EdDSA448 [RFC 8032]

EdDSA448ph = 4

EdDSA448ph [RFC 8032]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

EdDSACurve

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[ESPTransformSuite] ESP Transform Suite IDs

RESERVED_0 = 0

RESERVED [RFC 7402]

AES_128_CBC_with_HMAC_SHA1 = 1

AES-128-CBC with HMAC-SHA1 [RFC 3602][RFC 2404]

DEPRECATED_2 = 2

DEPRECATED [RFC 7402]

DEPRECATED_3 = 3

DEPRECATED [RFC 7402]

DEPRECATED_4 = 4

DEPRECATED [RFC 7402]

DEPRECATED_5 = 5

DEPRECATED [RFC 7402]

DEPRECATED_6 = 6

DEPRECATED [RFC 7402]

NULL_with_HMAC_SHA_256 = 7

NULL with HMAC-SHA-256 [RFC 2410][RFC 4868]

AES_128_CBC_with_HMAC_SHA_256 = 8

AES-128-CBC with HMAC-SHA-256 [RFC 3602][RFC 4868]

AES_256_CBC_with_HMAC_SHA_256 = 9

AES-256-CBC with HMAC-SHA-256 [RFC 3602][RFC 4868]

AES_CCM_8 = 10

AES-CCM-8 [RFC 4309]

AES_CCM_16 = 11

AES-CCM-16 [RFC 4309]

AES_GCM_with_an_8_octet_ICV = 12

AES-GCM with an 8 octet ICV [RFC 4106]

AES_GCM_with_a_16_octet_ICV = 13

AES-GCM with a 16 octet ICV [RFC 4106]

AES_CMAC_96 = 14

AES-CMAC-96 [RFC 4493][RFC 4494]

AES_GMAC = 15

AES-GMAC [RFC 4543]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

ESPTransformSuite

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Group] Group IDs

Reserved_0 = 0

Reserved [RFC 7401]

Group_384_bit_group = 1

384-bit group (DEPRECATED) [RFC 5201]

OAKLEY_well_known_group_1 = 2

OAKLEY well known group 1 (DEPRECATED) [RFC 5201]

Group_1536_bit_MODP_group = 3

1536-bit MODP group [RFC 7401]

Group_3072_bit_MODP_group = 4

3072-bit MODP group [RFC 7401]

Group_6144_bit_MODP_group = 5

6144-bit MODP group (DEPRECATED) [RFC 5201]

Group_8192_bit_MODP_group = 6

8192-bit MODP group (DEPRECATED) [RFC 5201]

NIST_P_256 = 7

NIST P-256 [RFC 7401]

NIST_P_384 = 8

NIST P-384 [RFC 7401]

NIST_P_521 = 9

NIST P-521 [RFC 7401]

SECP160R1 = 10

SECP160R1 [RFC 7401]

Group_2048_bit_MODP_group = 11

2048-bit MODP group [RFC 7401]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Group

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[HIAlgorithm] HI Algorithm

RESERVED_0 = 0

RESERVED [RFC 7401]

NULL_ENCRYPT = 1

NULL-ENCRYPT [RFC 2410]

Unassigned_2 = 2

Unassigned

DSA = 3

DSA [RFC 7401]

Unassigned_4 = 4

Unassigned

RSA = 5

RSA [RFC 7401]

Unassigned_6 = 6

Unassigned

ECDSA = 7

ECDSA [RFC 7401]

Unassigned_8 = 8

Unassigned

ECDSA_LOW = 9

ECDSA_LOW [RFC 7401]

EdDSA = 13

EdDSA [RFC 8032]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

HIAlgorithm

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[HITSuite] HIT Suite ID

RESERVED_0 = 0

RESERVED [RFC 7401]

RSA_DSA_SHA_256 = 1

RSA,DSA/SHA-256 [RFC 7401]

ECDSA_SHA_384 = 2

ECDSA/SHA-384 [RFC 7401]

ECDSA_LOW_SHA_1 = 3

ECDSA_LOW/SHA-1 [RFC 7401]

Unassigned_4 = 4

Unassigned

EdDSA_cSHAKE128 = 5

EdDSA/cSHAKE128 [RFC 9374]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

HITSuite

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[NATTraversal] HIP NAT Traversal Modes

Reserved_0 = 0

Reserved [RFC 5770]

UDP_ENCAPSULATION = 1

UDP-ENCAPSULATION [RFC 5770]

ICE_STUN_UDP = 2

ICE-STUN-UDP [RFC 5770]

ICE_HIP_UDP = 3

ICE-HIP-UDP [RFC 9028]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

NATTraversal

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[NotifyMessage] Notify Message Types

Reserved_0 = 0

Reserved [RFC 7401]

UNSUPPORTED_CRITICAL_PARAMETER_TYPE = 1

UNSUPPORTED_CRITICAL_PARAMETER_TYPE [RFC 7401]

INVALID_SYNTAX = 7

INVALID_SYNTAX [RFC 7401]

NO_DH_PROPOSAL_CHOSEN = 14

NO_DH_PROPOSAL_CHOSEN [RFC 7401]

INVALID_DH_CHOSEN = 15

INVALID_DH_CHOSEN [RFC 7401]

NO_HIP_PROPOSAL_CHOSEN = 16

NO_HIP_PROPOSAL_CHOSEN [RFC 7401]

INVALID_HIP_CIPHER_CHOSEN = 17

INVALID_HIP_CIPHER_CHOSEN [RFC 7401]

NO_ESP_PROPOSAL_CHOSEN = 18

NO_ESP_PROPOSAL_CHOSEN [RFC 7402]

INVALID_ESP_TRANSFORM_CHOSEN = 19

INVALID_ESP_TRANSFORM_CHOSEN [RFC 7402]

UNSUPPORTED_HIT_SUITE = 20

UNSUPPORTED_HIT_SUITE [RFC 7401]

AUTHENTICATION_FAILED = 24

AUTHENTICATION_FAILED [RFC 7401]

Unassigned_25 = 25

Unassigned

CHECKSUM_FAILED = 26

CHECKSUM_FAILED [RFC 7401]

Unassigned_27 = 27

Unassigned

HIP_MAC_FAILED = 28

HIP_MAC_FAILED [RFC 7401]

ENCRYPTION_FAILED = 32

ENCRYPTION_FAILED [RFC 7401]

INVALID_HIT = 40

INVALID_HIT [RFC 7401]

Unassigned_41 = 41

Unassigned

BLOCKED_BY_POLICY = 42

BLOCKED_BY_POLICY [RFC 7401]

Unassigned_43 = 43

Unassigned

RESPONDER_BUSY_PLEASE_RETRY = 44

RESPONDER_BUSY_PLEASE_RETRY [RFC 7401]

Unassigned_45 = 45

Unassigned

LOCATOR_TYPE_UNSUPPORTED = 46

LOCATOR_TYPE_UNSUPPORTED [RFC 8046]

Unassigned_47 = 47

Unassigned

CREDENTIALS_REQUIRED = 48

CREDENTIALS_REQUIRED [RFC 8002]

Unassigned_49 = 49

Unassigned

INVALID_CERTIFICATE = 50

INVALID_CERTIFICATE [RFC 8002]

REG_REQUIRED = 51

REG_REQUIRED [RFC 8003]

NO_VALID_NAT_TRAVERSAL_MODE_PARAMETER = 60

NO_VALID_NAT_TRAVERSAL_MODE_PARAMETER [RFC 5770]

CONNECTIVITY_CHECKS_FAILED = 61

CONNECTIVITY_CHECKS_FAILED [RFC 5770]

MESSAGE_NOT_RELAYED = 62

MESSAGE_NOT_RELAYED [RFC 5770]

SERVER_REFLEXIVE_CANDIDATE_ALLOCATION_FAILED = 63

SERVER_REFLEXIVE_CANDIDATE_ALLOCATION_FAILED [RFC 9028]

RVS_HMAC_PROHIBITED_WITH_RELAY = 64

RVS_HMAC_PROHIBITED_WITH_RELAY [RFC 9028]

OVERLAY_TTL_EXCEEDED = 70

OVERLAY_TTL_EXCEEDED [RFC 6079]

UNKNOWN_NEXT_HOP = 90

UNKNOWN_NEXT_HOP [RFC 6028]

NO_VALID_HIP_TRANSPORT_MODE = 100

NO_VALID_HIP_TRANSPORT_MODE [RFC 6261]

I2_ACKNOWLEDGEMENT = 16384

I2_ACKNOWLEDGEMENT [RFC 7401]

NAT_KEEPALIVE = 16385

NAT_KEEPALIVE [RFC 9028]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

NotifyMessage

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Packet] HIP Packet Types

Reserved_0 = 0

Reserved [RFC 7401]

I1 = 1

I1 the HIP Initiator Packet [RFC 7401]

R1 = 2

R1 the HIP Responder Packet [RFC 7401]

I2 = 3

I2 the Second HIP Initiator Packet [RFC 7401]

R2 = 4

R2 the Second HIP Responder Packet [RFC 7401]

UPDATE = 16

UPDATE the HIP Update Packet [RFC 7401]

NOTIFY = 17

NOTIFY the HIP Notify Packet [RFC 7401]

CLOSE = 18

CLOSE the HIP Association Closing Packet [RFC 7401]

CLOSE_ACK = 19

CLOSE_ACK the HIP Closing Acknowledgment Packet [RFC 7401]

HDRR = 20

HDRR (HIP Distributed Hash Table Resource Record) [RFC 6537]

HIP_DATA = 32

HIP_DATA [RFC 6078]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Packet

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Parameter] HIP Parameter Types

ESP_INFO = 65
Type:

ESP_INFO [RFC 7402] (Length

R1_Counter(v1 only) [:rfc:`5201`] (Length: 12) = 128
Type:

R1_Counter (v1 only) [RFC 5201] (Length

R1_COUNTER = 129
Type:

R1_COUNTER [RFC 7401] (Length

LOCATOR_SET = 193

LOCATOR_SET [RFC 8046]

PUZZLE = 257
Type:

PUZZLE [RFC 7401] (Length

SOLUTION = 321
Type:

SOLUTION [RFC 7401] (Length

SEQ = 385
Type:

SEQ [RFC 7401] (Length

ACK = 449

ACK [RFC 7401]

DH_GROUP_LIST = 511

DH_GROUP_LIST [RFC 7401]

Unassigned_512 = 512

Unassigned

DIFFIE_HELLMAN = 513

DIFFIE_HELLMAN [RFC 7401]

HIP_TRANSFORM = 577

HIP_TRANSFORM (v1 only) [RFC 5201]

Unassigned_578 = 578

Unassigned

HIP_CIPHER = 579

HIP_CIPHER [RFC 7401]

NAT_TRAVERSAL_MODE = 608

NAT_TRAVERSAL_MODE [RFC 5770]

Unassigned_609 = 609

Unassigned

TRANSACTION_PACING = 610
Type:

TRANSACTION_PACING [RFC 5770] (Length

ENCRYPTED = 641

ENCRYPTED [RFC 7401]

HOST_ID = 705

HOST_ID [RFC 7401]

HIT_SUITE_LIST = 715

HIT_SUITE_LIST [RFC 7401]

CERT = 768

CERT [RFC 7401][RFC 8002]

NOTIFICATION = 832

NOTIFICATION [RFC 7401]

ECHO_REQUEST_SIGNED = 897

ECHO_REQUEST_SIGNED [RFC 7401]

REG_INFO = 930

REG_INFO [RFC 8003]

Unassigned_931 = 931

Unassigned

REG_REQUEST = 932

REG_REQUEST [RFC 8003]

Unassigned_933 = 933

Unassigned

REG_RESPONSE = 934

REG_RESPONSE [RFC 8003]

Unassigned_935 = 935

Unassigned

REG_FAILED = 936

REG_FAILED [RFC 8003]

REG_FROM = 950
Type:

REG_FROM [RFC 5770] (Length

ECHO_RESPONSE_SIGNED = 961

ECHO_RESPONSE_SIGNED [RFC 7401]

TRANSPORT_FORMAT_LIST = 2049

TRANSPORT_FORMAT_LIST [RFC 7401]

ESP_TRANSFORM = 4095

ESP_TRANSFORM [RFC 7402]

SEQ_DATA = 4481
Type:

SEQ_DATA [RFC 6078] (Length

ACK_DATA = 4545

ACK_DATA [RFC 6078]

PAYLOAD_MIC = 4577

PAYLOAD_MIC [RFC 6078]

TRANSACTION_ID = 4580

TRANSACTION_ID [RFC 6078]

OVERLAY_ID = 4592

OVERLAY_ID [RFC 6079]

ROUTE_DST = 4601

ROUTE_DST [RFC 6028]

RELAYED_ADDRESS = 4650
Type:

RELAYED_ADDRESS [RFC 9028] (Length

MAPPED_ADDRESS = 4660
Type:

MAPPED_ADDRESS [RFC 9028] (Length

PEER_PERMISSION = 4680
Type:

PEER_PERMISSION [RFC 9028] (Length

CANDIDATE_PRIORITY = 4700
Type:

CANDIDATE_PRIORITY [RFC 9028] (Length

NOMINATE = 4710
Type:

NOMINATE [RFC 9028] (Length

HIP_TRANSPORT_MODE = 7680

HIP_TRANSPORT_MODE [RFC 6261]

HIP_MAC = 61505

HIP_MAC [RFC 7401]

HIP_MAC_2 = 61569

HIP_MAC_2 [RFC 7401]

HIP_SIGNATURE_2 = 61633

HIP_SIGNATURE_2 [RFC 7401]

HIP_SIGNATURE = 61697

HIP_SIGNATURE [RFC 7401]

ECHO_REQUEST_UNSIGNED = 63661

ECHO_REQUEST_UNSIGNED [RFC 7401]

ECHO_RESPONSE_UNSIGNED = 63425

ECHO_RESPONSE_UNSIGNED [RFC 7401]

RELAY_FROM = 63998
Type:

RELAY_FROM [RFC 5770] (Length

RELAY_TO = 64002
Type:

RELAY_TO [RFC 5770] (Length

OVERLAY_TTL = 64011
Type:

OVERLAY_TTL [RFC 6079] (Length

ROUTE_VIA = 64017

ROUTE_VIA [RFC 6028]

FROM = 65498
Type:

FROM [RFC 8004] (Length

Unassigned_65499 = 65499

Unassigned

RVS_HMAC = 65500

RVS_HMAC [RFC 8004]

Unassigned_65501 = 65501

Unassigned

VIA_RVS = 65502

VIA_RVS [RFC 8004]

RELAY_HMAC = 65520

RELAY_HMAC [RFC 5770]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Parameter

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[RegistrationFailure] Registration Failure Types

Registration_requires_additional_credentials = 0

Registration requires additional credentials [RFC 8003]

Registration_type_unavailable = 1

Registration type unavailable [RFC 8003]

Insufficient_resources = 2

Insufficient resources [RFC 8003]

Invalid_certificate = 3

Invalid certificate [RFC 8003]

Bad_certificate = 4

Bad certificate [RFC 8003]

Unsupported_certificate = 5

Unsupported certificate [RFC 8003]

Certificate_expired = 6

Certificate expired [RFC 8003]

Certificate_other = 7

Certificate other [RFC 8003]

Unknown_CA = 8

Unknown CA [RFC 8003]

Simultaneous_Rendezvous_and_Control_Relay_Service_usage_prohibited = 9

Simultaneous Rendezvous and Control Relay Service usage prohibited [RFC 9028]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

RegistrationFailure

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Registration] Registration Types

Unassigned_0 = 0

Unassigned

RENDEZVOUS = 1

RENDEZVOUS [RFC 8004]

RELAY_UDP_HIP = 2

RELAY_UDP_HIP [RFC 5770]

RELAY_UDP_ESP = 3

RELAY_UDP_ESP [RFC 9028]

CANDIDATE_DISCOVERY = 4

CANDIDATE_DISCOVERY [RFC 9028]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Registration

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Suite] Suite IDs

Reserved_0 = 0

Reserved [RFC 5201]

AES_CBC_with_HMAC_SHA1 = 1

AES-CBC with HMAC-SHA1 [RFC 5201]

Suite_3DES_CBC_with_HMAC_SHA1 = 2

3DES-CBC with HMAC-SHA1 [RFC 5201]

Suite_3DES_CBC_with_HMAC_MD5 = 3

3DES-CBC with HMAC-MD5 [RFC 5201]

BLOWFISH_CBC_with_HMAC_SHA1 = 4

BLOWFISH-CBC with HMAC-SHA1 [RFC 5201]

NULL_ENCRYPT_with_HMAC_SHA1 = 5

NULL-ENCRYPT with HMAC-SHA1 [RFC 5201]

NULL_ENCRYPT_with_HMAC_MD5 = 6

NULL-ENCRYPT with HMAC-MD5 [RFC 5201]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Suite

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Transport] HIP Transport Modes

RESERVED_0 = 0

RESERVED [RFC 6261]

DEFAULT = 1

DEFAULT [RFC 6261]

ESP = 2

ESP [RFC 6261]

ESP_TCP = 3

ESP-TCP [RFC 6261]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Transport

Footnotes