HIP Constant Enumerations

HIP Certificate Types *

class pcapkit.const.hip.certificate.Certificate(*args, **kwds)[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
Hash_And_URL_Of_X_509_V3 = 3
LDAP_URL_Of_X_509_V3 = 5
Obsoleted_2 = 2
Obsoleted_4 = 4
Obsoleted_6 = 6
Obsoleted_8 = 8
Reserved = 0
X_509_V3 = 1

HIP Cipher IDs

class pcapkit.const.hip.cipher.Cipher(*args, **kwds)[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_256_CBC = 4
NULL_ENCRYPT = 1
RESERVED_0 = 0
RESERVED_3 = 3

DI-Types

class pcapkit.const.hip.di.DITypes(*args, **kwds)[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
NAI = 2
None_Included = 0

ECDSA Curve Label §

class pcapkit.const.hip.ecdsa_curve.ECDSACurve(*args, **kwds)[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_384 = 2
RESERVED = 0

ECDSA_LOW Curve Label

class pcapkit.const.hip.ecdsa_low_curve.ECDSALowCurve(*args, **kwds)[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
SECP160R1 = 1

ESP Transform Suite IDs #

class pcapkit.const.hip.esp_transform_suite.ESPTransformSuite(*args, **kwds)[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_SHA_256 = 8
AES_256_CBC_With_HMAC_SHA_256 = 9
AES_CCM_16 = 11
AES_CCM_8 = 10
AES_CMAC_96 = 14
AES_GCM_With_A_16_Octet_ICV = 13
AES_GCM_With_An_8_Octet_ICV = 12
AES_GMAC = 15
DEPRECATED_2 = 2
DEPRECATED_3 = 3
DEPRECATED_4 = 4
DEPRECATED_5 = 5
DEPRECATED_6 = 6
NULL_With_HMAC_SHA_256 = 7
RESERVED = 0

Group IDs

class pcapkit.const.hip.group.Group(*args, **kwds)[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.

1536_bit_MODP_Group = 3
2048_bit_MODP_Group = 11
3072_bit_MODP_Group = 4
384_bit_Group = 1
6144_bit_MODP_Group = 5
8192_bit_MODP_Group = 6
NIST_P_256 = 7
NIST_P_384 = 8
NIST_P_521 = 9
OAKLEY_Well_Known_Group_1 = 2
Reserved = 0
SECP160R1 = 10

HI Algorithm

class pcapkit.const.hip.hi_algorithm.HIAlgorithm(*args, **kwds)[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
ECDSA = 7
ECDSA_LOW = 9
NULL_ENCRYPT = 1
RESERVED = 0
RSA = 5
Unassigned_2 = 2
Unassigned_4 = 4
Unassigned_6 = 6
Unassigned_8 = 8

HIT Suite ID

class pcapkit.const.hip.hit_suite.HITSuite(*args, **kwds)[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_SHA_384 = 2
RESERVED = 0
RSA_DSA_SHA_256 = 1

HIP NAT Traversal Modes

class pcapkit.const.hip.nat_traversal.NATTraversal(*args, **kwds)[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
Reserved = 0
UDP_ENCAPSULATION = 1

Notify Message Types **

class pcapkit.const.hip.notify_message.NotifyMessage(*args, **kwds)[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
BLOCKED_BY_POLICY = 42
CHECKSUM_FAILED = 26
CONNECTIVITY_CHECKS_FAILED = 61
CREDENTIALS_REQUIRED = 48
ENCRYPTION_FAILED = 32
HIP_MAC_FAILED = 28
I2_ACKNOWLEDGEMENT = 16384
INVALID_CERTIFICATE = 50
INVALID_DH_CHOSEN = 15
INVALID_ESP_TRANSFORM_CHOSEN = 19
INVALID_HIP_CIPHER_CHOSEN = 17
INVALID_HIT = 40
INVALID_SYNTAX = 7
LOCATOR_TYPE_UNSUPPORTED = 46
MESSAGE_NOT_RELAYED = 62
NO_DH_PROPOSAL_CHOSEN = 14
NO_ESP_PROPOSAL_CHOSEN = 18
NO_HIP_PROPOSAL_CHOSEN = 16
NO_VALID_HIP_TRANSPORT_MODE = 100
NO_VALID_NAT_TRAVERSAL_MODE_PARAMETER = 60
OVERLAY_TTL_EXCEEDED = 70
REG_REQUIRED = 51
RESPONDER_BUSY_PLEASE_RETRY = 44
Reserved = 0
UNKNOWN_NEXT_HOP = 90
UNSUPPORTED_CRITICAL_PARAMETER_TYPE = 1
UNSUPPORTED_HIT_SUITE = 20
Unassigned_25 = 25
Unassigned_27 = 27
Unassigned_41 = 41
Unassigned_43 = 43
Unassigned_45 = 45
Unassigned_47 = 47
Unassigned_49 = 49

Packet Types ††

class pcapkit.const.hip.packet.Packet(*args, **kwds)[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_ACK = 19
HDRR = 20
HIP_DATA = 32
I1 = 1
I2 = 3
NOTIFY = 17
R1 = 2
R2 = 4
Reserved = 0
UPDATE = 16

Parameter Types ‡‡

class pcapkit.const.hip.parameter.Parameter(*args, **kwds)[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_DATA = 4545
CERT = 768
DH_GROUP_LIST = 511
DIFFIE_HELLMAN = 513
ECHO_REQUEST_SIGNED = 897
ECHO_REQUEST_UNSIGNED = 63661
ECHO_RESPONSE_SIGNED = 961
ECHO_RESPONSE_UNSIGNED = 63425
ENCRYPTED = 641
ESP_INFO = 65
ESP_TRANSFORM = 4095
FROM = 65498
HIP_CIPHER = 579
HIP_MAC = 61505
HIP_MAC_2 = 61569
HIP_SIGNATURE = 61697
HIP_SIGNATURE_2 = 61633
HIP_TRANSFORM = 577
HIP_TRANSPORT_MODE = 7680
HIT_SUITE_LIST = 715
HOST_ID = 705
LOCATOR_SET = 193
NAT_TRAVERSAL_MODE = 608
NOTIFICATION = 832
OVERLAY_ID = 4592
OVERLAY_TTL = 64011
PAYLOAD_MIC = 4577
PUZZLE = 257
R1_COUNTER = 129
R1_Counter = 128
REG_FAILED = 936
REG_FROM = 950
REG_INFO = 930
REG_REQUEST = 932
REG_RESPONSE = 934
RELAY_FROM = 63998
RELAY_HMAC = 65520
RELAY_TO = 64002
ROUTE_DST = 4601
ROUTE_VIA = 64017
RVS_HMAC = 65500
SEQ = 385
SEQ_DATA = 4481
SOLUTION = 321
TRANSACTION_ID = 4580
TRANSACTION_PACING = 610
TRANSPORT_FORMAT_LIST = 2049
Unassigned_512 = 512
Unassigned_578 = 578
Unassigned_609 = 609
Unassigned_65499 = 65499
Unassigned_65501 = 65501
Unassigned_931 = 931
Unassigned_933 = 933
Unassigned_935 = 935
VIA_RVS = 65502

Registration Types §§

class pcapkit.const.hip.registration.Registration(*args, **kwds)[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
RENDEZVOUS = 1
Unassigned = 0

Registration Failure Types ¶¶

class pcapkit.const.hip.registration_failure.RegistrationFailure(*args, **kwds)[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
Certificate_Expired = 6
Certificate_Other = 7
Insufficient_Resources = 2
Invalid_Certificate = 3
Registration_Requires_Additional_Credentials = 0
Registration_Type_Unavailable = 1
Unknown_CA = 8
Unsupported_Certificate = 5

Suite IDs ##

class pcapkit.const.hip.suite.Suite(*args, **kwds)[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.

3DES_CBC_With_HMAC_MD5 = 3
3DES_CBC_With_HMAC_SHA1 = 2
AES_CBC_With_HMAC_SHA1 = 1
BLOWFISH_CBC_With_HMAC_SHA1 = 4
NULL_ENCRYPT_With_HMAC_MD5 = 6
NULL_ENCRYPT_With_HMAC_SHA1 = 5
Reserved = 0

HIP Transport Modes ♠♠

class pcapkit.const.hip.transport.Transport(*args, **kwds)[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
ESP = 2
ESP_TCP = 3
RESERVED = 0

*

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