SSL Constant Enumerations¶
Shared by the record-layer implementations under
SSL:
TLS (SSLv3 through TLS 1.3) and
DTLS.
TLS/DTLS Content Types [*] |
|
TLS/DTLS HandshakeType [†] |
|
TLS/DTLS ExtensionType Values [‡] |
|
TLS EC Point Formats [§] |
|
TLS Certificate Status Types [¶] |
|
TLS PskKeyExchangeMode Values [#] |
|
TLS Certificate Compression Algorithm IDs [♠] |
|
HPKE KEM Identifiers [♥] |
|
HPKE KDF Identifiers [♦] |
|
HPKE AEAD Identifiers [♣] |
Added in version 1.6.0.
TLS/DTLS Content Types¶
Generated from pcapkit.vendor.tls.content_type.ContentType.
- class pcapkit.const.tls.content_type.ContentType(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[ContentType] TLS/DTLS Content 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.
TLS/DTLS HandshakeType¶
Generated from pcapkit.vendor.tls.handshake_type.HandshakeType, including
the DTLS-only messages RFC 9147 Section 5.2 adds to the registry.
- class pcapkit.const.tls.handshake_type.HandshakeType(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[HandshakeType] TLS/DTLS HandshakeType
- hello_verify_request = 3¶
hello_verify_request [RFC 6347][RFC 9846] – Assigned for interim draft, but the functionality was moved to a different message.
- hello_retry_request = 6¶
hello_retry_request [RFC 9846] – Assigned for interim draft, but the functionality was moved to an extension.
- unassigned_7 = 7¶
Unassigned
- client_certificate_request = 17¶
client_certificate_request [RFC 9261] – Used in TLS versions prior to 1.3.
- certificate_status = 22¶
certificate_status [RFC 6066][RFC 9846] – Used in TLS versions prior to 1.3.
- unassigned_255 = 255¶
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.
TLS/DTLS ExtensionType Values¶
Generated from pcapkit.vendor.tls.extension_type.ExtensionType.
- class pcapkit.const.tls.extension_type.ExtensionType(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[ExtensionType] TLS/DTLS ExtensionType Values
- truncated_hmac = 4¶
truncated_hmac [RFC 6066][IESG Action 2018-08-16][RFC 9847][Tag Size Does Matter: Attacks and Proofs for the TLS Record Protocol]
- tls_lts = 26¶
tls_lts [draft-gutmann-tls-lts-11]
- TLMSP = 36¶
TLMSP [ETSI TS 103 523-2]
- TLMSP_proxying = 37¶
TLMSP_proxying [ETSI TS 103 523-2]
- TLMSP_delegate = 38¶
TLMSP_delegate [ETSI TS 103 523-2]
pre_shared_key [RFC 9846]
key_share [RFC 9846][RFC Errata 5483]
- sequence_number_encryption_algorithms = 60¶
sequence_number_encryption_algorithms [draft-pismenny-tls-dtls-plaintext-sequence-number-01]
- tls_flags = 62¶
tls_flags [draft-ietf-tls-tlsflags-14]
- dane_clientid = 63¶
dane_clientid [RFC-ietf-dance-client-auth-17] – For TLS 1.3 or later
- trust_anchors_TEMPORARY_registered_2026_11_18_expires_2027_11_18 = 51764¶
trust_anchors (TEMPORARY - registered 2026-11-18, expires 2027-11-18) [draft-ietf-tls-trust-anchor-ids-07]
- 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.
TLS EC Point Formats¶
Generated from pcapkit.vendor.tls.ec_point_format.ECPointFormat.
- class pcapkit.const.tls.ec_point_format.ECPointFormat(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[ECPointFormat] TLS EC Point Formats
- 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.
TLS Certificate Status Types¶
Generated from pcapkit.vendor.tls.certificate_status_type.CertificateStatusType.
- class pcapkit.const.tls.certificate_status_type.CertificateStatusType(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[CertificateStatusType] TLS Certificate Status Types
- ocsp_multi_RESERVED = 2¶
ocsp_multi_RESERVED [RFC 6961][RFC 9846] – Used in TLS versions prior to 1.3.
- 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.
TLS PskKeyExchangeMode Values¶
Generated from pcapkit.vendor.tls.psk_key_exchange_mode.PskKeyExchangeMode.
- class pcapkit.const.tls.psk_key_exchange_mode.PskKeyExchangeMode(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[PskKeyExchangeMode] TLS PskKeyExchangeMode Values
- 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.
TLS Certificate Compression Algorithm IDs¶
Generated from pcapkit.vendor.tls.certificate_compression_algorithm.CertificateCompressionAlgorithm.
- class pcapkit.const.tls.certificate_compression_algorithm.CertificateCompressionAlgorithm(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[CertificateCompressionAlgorithm] TLS Certificate Compression Algorithm 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.
HPKE KEM Identifiers¶
Generated from pcapkit.vendor.tls.hpke_kem_id.HpkeKemId.
- class pcapkit.const.tls.hpke_kem_id.HpkeKemId(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[HpkeKemId] HPKE KEM Identifiers
- Reserved_0x0000 = 0¶
Reserved [RFC-ietf-hpke-hpke-06]
- DHKEM_CP_256_HKDF_SHA256 = 19¶
DHKEM(CP-256, HKDF-SHA256) [NISTCurves][RFC 6090][draft-irtf-cfrg-dnhpke-01]
- DHKEM_CP_384_HKDF_SHA384 = 20¶
DHKEM(CP-384, HKDF-SHA384) [NISTCurves][RFC 6090][draft-irtf-cfrg-dnhpke-01]
- DHKEM_CP_521_HKDF_SHA512 = 21¶
DHKEM(CP-521, HKDF-SHA512) [NISTCurves][RFC 6090][draft-irtf-cfrg-dnhpke-01]
- DHKEM_secp256k1_HKDF_SHA256 = 22¶
DHKEM(secp256k1, HKDF-SHA256) [Standards for Efficient Cryptography 2 (SEC 2)][draft-wahby-cfrg-hpke-kem-secp256k1-01]
- DHKEM_X25519_Elligator_HKDF_SHA256 = 34¶
DHKEM(X25519+Elligator, HKDF-SHA256) [https://lsd.gnunet.org/lsd0011/] [draft-schanzen-hpke-elligator-kem-01]
- X25519Kyber768Draft00 = 48¶
X25519Kyber768Draft00 [draft-westerbaan-cfrg-hpke-xyber768d00-02]
- ML_KEM_512 = 64¶
ML-KEM-512 [draft-connolly-cfrg-hpke-mlkem-04]
- ML_KEM_768 = 65¶
ML-KEM-768 [draft-connolly-cfrg-hpke-mlkem-04]
- ML_KEM_1024 = 66¶
ML-KEM-1024 [draft-connolly-cfrg-hpke-mlkem-04]
- MLKEM768_P256 = 80¶
MLKEM768-P256 [draft-ietf-hpke-pq-04]
- MLKEM1024_P384 = 81¶
MLKEM1024-P384 [draft-ietf-hpke-pq-04]
- X_Wing = 25722¶
X-Wing [draft-connolly-cfrg-xwing-kem-06]
- 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.
HPKE KDF Identifiers¶
Generated from pcapkit.vendor.tls.hpke_kdf_id.HpkeKdfId.
- class pcapkit.const.tls.hpke_kdf_id.HpkeKdfId(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[HpkeKdfId] HPKE KDF Identifiers
- Reserved_0x0000 = 0¶
Reserved [RFC-ietf-hpke-hpke-06]
- SHAKE128 = 16¶
SHAKE128 [draft-ietf-hpke-pq-04]
- SHAKE256 = 17¶
SHAKE256 [draft-ietf-hpke-pq-04]
- TurboSHAKE128 = 18¶
TurboSHAKE128 [draft-ietf-hpke-pq-04]
- TurboSHAKE256 = 19¶
TurboSHAKE256 [draft-ietf-hpke-pq-04]
- 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.
HPKE AEAD Identifiers¶
Generated from pcapkit.vendor.tls.hpke_aead_id.HpkeAeadId.
- class pcapkit.const.tls.hpke_aead_id.HpkeAeadId(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[HpkeAeadId] HPKE AEAD Identifiers
- Reserved_0x0000 = 0¶
Reserved [RFC-ietf-hpke-hpke-06]
- AES_128_GCM = 1¶
AES-128-GCM [GCM]
- AES_256_GCM = 2¶
AES-256-GCM [GCM]
- Export_only = 65535¶
Export-only [RFC-ietf-hpke-hpke-06]
- 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