HIP Constant Enumerations

HIP Certificate Types *

class pcapkit.const.hip.certificate.Certificate(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Certificate] HIP Certificate Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

Distinguished_Name_of_X_509_v3 = 7

Distinguished Name of X.509 v3 [RFC 8002]

Hash_and_URL_of_X_509_v3 = 3

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

LDAP_URL_of_X_509_v3 = 5

LDAP URL of X.509 v3 [RFC 8002]

Obsoleted_2 = 2

Obsoleted [RFC 8002]

Obsoleted_4 = 4

Obsoleted [RFC 8002]

Obsoleted_6 = 6

Obsoleted [RFC 8002]

Obsoleted_8 = 8

Obsoleted [RFC 8002]

Reserved = 0

Reserved [RFC 8002]

X_509_v3 = 1

X.509 v3 [RFC 8002]

HIP Cipher IDs

class pcapkit.const.hip.cipher.Cipher(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Cipher] Cipher IDs

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

AES_128_CBC = 2

AES-128-CBC [RFC 7401]

AES_256_CBC = 4

AES-256-CBC [RFC 7401]

NULL_ENCRYPT = 1

NULL-ENCRYPT [RFC 7401]

RESERVED_0 = 0

RESERVED [RFC 7401]

RESERVED_3 = 3

RESERVED [RFC 7401]

DI-Types

class pcapkit.const.hip.di.DITypes(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[DITypes] DI-Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

FQDN = 1

FQDN [RFC 7401]

NAI = 2

NAI [RFC 7401]

none_included = 0

none included [RFC 7401]

ECDSA Curve Label §

class pcapkit.const.hip.ecdsa_curve.ECDSACurve(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[ECDSACurve] ECDSA Curve Label

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

NIST_P_256 = 1

NIST P-256 [RFC 7401]

NIST_P_384 = 2

NIST P-384 [RFC 7401]

RESERVED = 0

RESERVED [RFC 7401]

ECDSA_LOW Curve Label

class pcapkit.const.hip.ecdsa_low_curve.ECDSALowCurve(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[ECDSALowCurve] ECDSA_LOW Curve Label

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

RESERVED = 0

RESERVED [RFC 7401]

SECP160R1 = 1

SECP160R1 [RFC 7401]

ESP Transform Suite IDs #

class pcapkit.const.hip.esp_transform_suite.ESPTransformSuite(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[ESPTransformSuite] ESP Transform Suite IDs

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

AES_128_CBC_with_HMAC_SHA1 = 1

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

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_16 = 11

AES-CCM-16 [RFC 4309]

AES_CCM_8 = 10

AES-CCM-8 [RFC 4309]

AES_CMAC_96 = 14

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

AES_GCM_with_a_16_octet_ICV = 13

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

AES_GCM_with_an_8_octet_ICV = 12

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

AES_GMAC = 15

AES-GMAC [RFC 4543]

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]

RESERVED = 0

RESERVED [RFC 7402]

Group IDs

class pcapkit.const.hip.group.Group(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Group] Group IDs

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

Group_1536_bit_MODP_group = 3

1536-bit MODP group [RFC 7401]

Group_2048_bit_MODP_group = 11

2048-bit MODP group [RFC 7401]

Group_3072_bit_MODP_group = 4

3072-bit MODP group [RFC 7401]

Group_384_bit_group = 1

384-bit group [RFC 5201] DEPRECATED

Group_6144_bit_MODP_group = 5

6144-bit MODP group [RFC 5201] DEPRECATED

Group_8192_bit_MODP_group = 6

8192-bit MODP group [RFC 5201] DEPRECATED

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]

OAKLEY_well_known_group_1 = 2

OAKLEY well known group 1 [RFC 5201] DEPRECATED

Reserved = 0

Reserved [RFC 7401]

SECP160R1 = 10

SECP160R1 [RFC 7401]

HI Algorithm

class pcapkit.const.hip.hi_algorithm.HIAlgorithm(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[HIAlgorithm] HI Algorithm

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

DSA = 3

DSA [RFC 7401]

ECDSA = 7

ECDSA [RFC 7401]

ECDSA_LOW = 9

ECDSA_LOW [RFC 7401]

NULL_ENCRYPT = 1

NULL-ENCRYPT [RFC 2410]

RESERVED = 0

RESERVED [RFC 7401]

RSA = 5

RSA [RFC 7401]

Unassigned_2 = 2

Unassigned

Unassigned_4 = 4

Unassigned

Unassigned_6 = 6

Unassigned

Unassigned_8 = 8

Unassigned

HIT Suite ID

class pcapkit.const.hip.hit_suite.HITSuite(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[HITSuite] HIT Suite ID

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

ECDSA_LOW_SHA_1 = 3

ECDSA_LOW/SHA-1 [RFC 7401]

ECDSA_SHA_384 = 2

ECDSA/SHA-384 [RFC 7401]

RESERVED = 0

RESERVED [RFC 7401]

RSA_DSA_SHA_256 = 1

RSA,DSA/SHA-256 [RFC 7401]

HIP NAT Traversal Modes

class pcapkit.const.hip.nat_traversal.NATTraversal(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[NATTraversal] HIP NAT Traversal Modes

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

ICE_STUN_UDP = 2

ICE-STUN-UDP [RFC 5770]

Reserved = 0

Reserved [RFC 5770]

UDP_ENCAPSULATION = 1

UDP-ENCAPSULATION [RFC 5770]

Notify Message Types **

class pcapkit.const.hip.notify_message.NotifyMessage(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[NotifyMessage] Notify Message Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

AUTHENTICATION_FAILED = 24

AUTHENTICATION_FAILED [RFC 7401]

BLOCKED_BY_POLICY = 42

BLOCKED_BY_POLICY [RFC 7401]

CHECKSUM_FAILED = 26

CHECKSUM_FAILED [RFC 7401]

CONNECTIVITY_CHECKS_FAILED = 61

CONNECTIVITY_CHECKS_FAILED [RFC 5770]

CREDENTIALS_REQUIRED = 48

CREDENTIALS_REQUIRED [RFC 8002]

ENCRYPTION_FAILED = 32

ENCRYPTION_FAILED [RFC 7401]

HIP_MAC_FAILED = 28

HIP_MAC_FAILED [RFC 7401]

I2_ACKNOWLEDGEMENT = 16384

I2_ACKNOWLEDGEMENT [RFC 7401]

INVALID_CERTIFICATE = 50

INVALID_CERTIFICATE [RFC 8002]

INVALID_DH_CHOSEN = 15

INVALID_DH_CHOSEN [RFC 7401]

INVALID_ESP_TRANSFORM_CHOSEN = 19

INVALID_ESP_TRANSFORM_CHOSEN [RFC 7402]

INVALID_HIP_CIPHER_CHOSEN = 17

INVALID_HIP_CIPHER_CHOSEN [RFC 7401]

INVALID_HIT = 40

INVALID_HIT [RFC 7401]

INVALID_SYNTAX = 7

INVALID_SYNTAX [RFC 7401]

LOCATOR_TYPE_UNSUPPORTED = 46

LOCATOR_TYPE_UNSUPPORTED [RFC 8046]

MESSAGE_NOT_RELAYED = 62

MESSAGE_NOT_RELAYED [RFC 5770]

NO_DH_PROPOSAL_CHOSEN = 14

NO_DH_PROPOSAL_CHOSEN [RFC 7401]

NO_ESP_PROPOSAL_CHOSEN = 18

NO_ESP_PROPOSAL_CHOSEN [RFC 7402]

NO_HIP_PROPOSAL_CHOSEN = 16

NO_HIP_PROPOSAL_CHOSEN [RFC 7401]

NO_VALID_HIP_TRANSPORT_MODE = 100

NO_VALID_HIP_TRANSPORT_MODE [RFC 6261]

NO_VALID_NAT_TRAVERSAL_MODE_PARAMETER = 60

NO_VALID_NAT_TRAVERSAL_MODE_PARAMETER [RFC 5770]

OVERLAY_TTL_EXCEEDED = 70

OVERLAY_TTL_EXCEEDED [RFC 6079]

REG_REQUIRED = 51

REG_REQUIRED [RFC 8003]

RESPONDER_BUSY_PLEASE_RETRY = 44

RESPONDER_BUSY_PLEASE_RETRY [RFC 7401]

Reserved = 0

Reserved [RFC 7401]

UNKNOWN_NEXT_HOP = 90

UNKNOWN_NEXT_HOP [RFC 6028]

UNSUPPORTED_CRITICAL_PARAMETER_TYPE = 1

UNSUPPORTED_CRITICAL_PARAMETER_TYPE [RFC 7401]

UNSUPPORTED_HIT_SUITE = 20

UNSUPPORTED_HIT_SUITE [RFC 7401]

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

Packet Types ††

class pcapkit.const.hip.packet.Packet(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Packet] HIP Packet Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

CLOSE = 18

CLOSE [RFC 7401] the HIP Association Closing Packet

CLOSE_ACK = 19

CLOSE_ACK [RFC 7401] the HIP Closing Acknowledgment Packet

HDRR = 20

HDRR [RFC 6537] HIP Distributed Hash Table Resource Record

HIP_DATA = 32

HIP_DATA [RFC 6078]

I1 = 1

I1 [RFC 7401] the HIP Initiator Packet

I2 = 3

I2 [RFC 7401] the Second HIP Initiator Packet

NOTIFY = 17

NOTIFY [RFC 7401] the HIP Notify Packet

R1 = 2

R1 [RFC 7401] the HIP Responder Packet

R2 = 4

R2 [RFC 7401] the Second HIP Responder Packet

Reserved = 0

Reserved [RFC 7401]

UPDATE = 16

UPDATE [RFC 7401] the HIP Update Packet

Parameter Types ‡‡

class pcapkit.const.hip.parameter.Parameter(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Parameter] HIP Parameter Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

ACK = 449

ACK [RFC 7401]

ACK_DATA = 4545

ACK_DATA [RFC 6078]

CERT = 768

CERT [RFC 7401][RFC 8002]

DH_GROUP_LIST = 511

DH_GROUP_LIST [RFC 7401]

DIFFIE_HELLMAN = 513

DIFFIE_HELLMAN [RFC 7401]

ECHO_REQUEST_SIGNED = 897

ECHO_REQUEST_SIGNED [RFC 7401]

ECHO_REQUEST_UNSIGNED = 63661

ECHO_REQUEST_UNSIGNED [RFC 7401]

ECHO_RESPONSE_SIGNED = 961

ECHO_RESPONSE_SIGNED [RFC 7401]

ECHO_RESPONSE_UNSIGNED = 63425

ECHO_RESPONSE_UNSIGNED [RFC 7401]

ENCRYPTED = 641

ENCRYPTED [RFC 7401]

ESP_INFO = 65

ESP_INFO [RFC 7402] 12

ESP_TRANSFORM = 4095

ESP_TRANSFORM [RFC 7402]

FROM = 65498

FROM [RFC 8004] 16

HIP_CIPHER = 579

HIP_CIPHER [RFC 7401]

HIP_MAC = 61505

HIP_MAC [RFC 7401]

HIP_MAC_2 = 61569

HIP_MAC_2 [RFC 7401]

HIP_SIGNATURE = 61697

HIP_SIGNATURE [RFC 7401]

HIP_SIGNATURE_2 = 61633

HIP_SIGNATURE_2 [RFC 7401]

HIP_TRANSFORM = 577

HIP_TRANSFORM [RFC 5201] (v1 only)

HIP_TRANSPORT_MODE = 7680

HIP_TRANSPORT_MODE [RFC 6261]

HIT_SUITE_LIST = 715

HIT_SUITE_LIST [RFC 7401]

HOST_ID = 705

HOST_ID [RFC 7401]

LOCATOR_SET = 193

LOCATOR_SET [RFC 8046]

NAT_TRAVERSAL_MODE = 608

NAT_TRAVERSAL_MODE [RFC 5770]

NOTIFICATION = 832

NOTIFICATION [RFC 7401]

OVERLAY_ID = 4592

OVERLAY_ID [RFC 6079]

OVERLAY_TTL = 64011

OVERLAY_TTL [RFC 6079] 4

PAYLOAD_MIC = 4577

PAYLOAD_MIC [RFC 6078]

PUZZLE = 257

PUZZLE [RFC 7401] 12

R1_COUNTER = 129

R1_COUNTER [RFC 7401] 12

R1_Counter = 128

R1_Counter [RFC 5201] 12 (v1 only)

REG_FAILED = 936

REG_FAILED [RFC 8003]

REG_FROM = 950

REG_FROM [RFC 5770] 20

REG_INFO = 930

REG_INFO [RFC 8003]

REG_REQUEST = 932

REG_REQUEST [RFC 8003]

REG_RESPONSE = 934

REG_RESPONSE [RFC 8003]

RELAY_FROM = 63998

RELAY_FROM [RFC 5770] 20

RELAY_HMAC = 65520

RELAY_HMAC [RFC 5770]

RELAY_TO = 64002

RELAY_TO [RFC 5770] 20

ROUTE_DST = 4601

ROUTE_DST [RFC 6028]

ROUTE_VIA = 64017

ROUTE_VIA [RFC 6028]

RVS_HMAC = 65500

RVS_HMAC [RFC 8004]

SEQ = 385

SEQ [RFC 7401] 4

SEQ_DATA = 4481

SEQ_DATA [RFC 6078] 4

SOLUTION = 321

SOLUTION [RFC 7401] 20

TRANSACTION_ID = 4580

TRANSACTION_ID [RFC 6078]

TRANSACTION_PACING = 610

TRANSACTION_PACING [RFC 5770] 4

TRANSPORT_FORMAT_LIST = 2049

TRANSPORT_FORMAT_LIST [RFC 7401]

Unassigned_512 = 512

Unassigned

Unassigned_578 = 578

Unassigned

Unassigned_609 = 609

Unassigned

Unassigned_65499 = 65499

Unassigned

Unassigned_65501 = 65501

Unassigned

Unassigned_931 = 931

Unassigned

Unassigned_933 = 933

Unassigned

Unassigned_935 = 935

Unassigned

VIA_RVS = 65502

VIA_RVS [RFC 8004]

Registration Types §§

class pcapkit.const.hip.registration.Registration(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Registration] Registration Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

RELAY_UDP_HIP = 2

RELAY_UDP_HIP [RFC 5770]

RENDEZVOUS = 1

RENDEZVOUS [RFC 8004]

Unassigned = 0

Unassigned

Registration Failure Types ¶¶

class pcapkit.const.hip.registration_failure.RegistrationFailure(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[RegistrationFailure] Registration Failure Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

Bad_certificate = 4

Bad certificate [RFC 8003]

Certificate_expired = 6

Certificate expired [RFC 8003]

Certificate_other = 7

Certificate other [RFC 8003]

Insufficient_resources = 2

Insufficient resources [RFC 8003]

Invalid_certificate = 3

Invalid certificate [RFC 8003]

Registration_requires_additional_credentials = 0

Registration requires additional credentials [RFC 8003]

Registration_type_unavailable = 1

Registration type unavailable [RFC 8003]

Unknown_CA = 8

Unknown CA [RFC 8003]

Unsupported_certificate = 5

Unsupported certificate [RFC 8003]

Suite IDs ##

class pcapkit.const.hip.suite.Suite(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Suite] Suite IDs

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

AES_CBC_with_HMAC_SHA1 = 1

AES-CBC with HMAC-SHA1 [RFC 5201]

BLOWFISH_CBC_with_HMAC_SHA1 = 4

BLOWFISH-CBC with HMAC-SHA1 [RFC 5201]

NULL_ENCRYPT_with_HMAC_MD5 = 6

NULL-ENCRYPT with HMAC-MD5 [RFC 5201]

NULL_ENCRYPT_with_HMAC_SHA1 = 5

NULL-ENCRYPT with HMAC-SHA1 [RFC 5201]

Reserved = 0

Reserved [RFC 5201]

Suite_3DES_CBC_with_HMAC_MD5 = 3

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

Suite_3DES_CBC_with_HMAC_SHA1 = 2

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

HIP Transport Modes ♠♠

class pcapkit.const.hip.transport.Transport(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Transport] HIP Transport Modes

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

DEFAULT = 1

DEFAULT [RFC 6261]

ESP = 2

ESP [RFC 6261]

ESP_TCP = 3

ESP-TCP [RFC 6261]

RESERVED = 0

RESERVED [RFC 6261]


*

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#certificate-types

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-cipher-id

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-7

§

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#ecdsa-curve-label

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#ecdsa-low-curve-label

#

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#esp-transform-suite-ids

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-5

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hi-algorithm

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hit-suite-id

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#nat-traversal

**

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-9

††

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-1

‡‡

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-4

§§

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-11

¶¶

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-13

##

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#hip-parameters-6

♠♠

https://www.iana.org/assignments/hip-parameters/hip-parameters.xhtml#transport-modes