|
1 | 1 | # -*- coding: UTF-8 -*-
|
2 | 2 | # Generator: fetch_iana_tls_registry.py
|
3 |
| -# date: 2016-09-28 |
| 3 | +# date: 2018-02-12 |
4 | 4 | # sources: https://www.iana.org/assignments/tls-parameters/tls-parameters.xml
|
5 | 5 | # WARNING! THIS FILE IS AUTOGENERATED, DO NOT EDIT!
|
6 | 6 |
|
|
16 | 16 | 0x40: 'ecdsa_sign',
|
17 | 17 | 0x41: 'rsa_fixed_ecdh',
|
18 | 18 | 0x42: 'ecdsa_fixed_ecdh',
|
19 |
| -} |
| 19 | + } |
20 | 20 | TLS_CIPHER_SUITE_REGISTRY = {
|
21 | 21 | 0x0000: 'NULL_WITH_NULL_NULL',
|
22 | 22 | 0x0001: 'RSA_WITH_NULL_MD5',
|
|
337 | 337 | 0xc0ad: 'ECDHE_ECDSA_WITH_AES_256_CCM',
|
338 | 338 | 0xc0ae: 'ECDHE_ECDSA_WITH_AES_128_CCM_8',
|
339 | 339 | 0xc0af: 'ECDHE_ECDSA_WITH_AES_256_CCM_8',
|
| 340 | + 0xc0b0: 'ECCPWD_WITH_AES_128_GCM_SHA256', |
| 341 | + 0xc0b1: 'ECCPWD_WITH_AES_256_GCM_SHA384', |
| 342 | + 0xc0b2: 'ECCPWD_WITH_AES_128_CCM_SHA256', |
| 343 | + 0xc0b3: 'ECCPWD_WITH_AES_256_CCM_SHA384', |
340 | 344 | 0xcca8: 'ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256',
|
341 | 345 | 0xcca9: 'ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256',
|
342 | 346 | 0xccaa: 'DHE_RSA_WITH_CHACHA20_POLY1305_SHA256',
|
343 | 347 | 0xccab: 'PSK_WITH_CHACHA20_POLY1305_SHA256',
|
344 | 348 | 0xccac: 'ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256',
|
345 | 349 | 0xccad: 'DHE_PSK_WITH_CHACHA20_POLY1305_SHA256',
|
346 | 350 | 0xccae: 'RSA_PSK_WITH_CHACHA20_POLY1305_SHA256',
|
347 |
| -} |
| 351 | + 0xd000: 'Unassigned', |
| 352 | + 0xd001: 'ECDHE_PSK_WITH_AES_128_GCM_SHA256', |
| 353 | + 0xd002: 'ECDHE_PSK_WITH_AES_256_GCM_SHA384', |
| 354 | + 0xd003: 'ECDHE_PSK_WITH_AES_128_CCM_8_SHA256', |
| 355 | + 0xd004: 'Unassigned', |
| 356 | + 0xd005: 'ECDHE_PSK_WITH_AES_128_CCM_SHA256', |
| 357 | + } |
348 | 358 | TLS_CONTENTTYPE_REGISTRY = {
|
349 | 359 | 0x14: 'change_cipher_spec',
|
350 | 360 | 0x15: 'alert',
|
351 | 361 | 0x16: 'handshake',
|
352 | 362 | 0x17: 'application_data',
|
353 | 363 | 0x18: 'heartbeat',
|
354 |
| -} |
| 364 | + } |
355 | 365 | TLS_ALERT_REGISTRY = {
|
356 | 366 | 0x00: 'close_notify',
|
357 | 367 | 0x0a: 'unexpected_message',
|
|
384 | 394 | 0x71: 'bad_certificate_status_response',
|
385 | 395 | 0x72: 'bad_certificate_hash_value',
|
386 | 396 | 0x73: 'unknown_psk_identity',
|
387 |
| -} |
| 397 | + } |
388 | 398 | TLS_HANDSHAKETYPE_REGISTRY = {
|
389 | 399 | 0x00: 'hello_request',
|
390 | 400 | 0x01: 'client_hello',
|
|
401 | 411 | 0x15: 'certificate_url',
|
402 | 412 | 0x16: 'certificate_status',
|
403 | 413 | 0x17: 'supplemental_data',
|
404 |
| -} |
405 |
| -SUPPORTED_GROUPS_REGISTRY = { |
| 414 | + } |
| 415 | +TLS_SUPPORTED_GROUPS_REGISTRY = { |
406 | 416 | 0x00: 'Unassigned',
|
407 | 417 | 0x01: 'sect163k1',
|
408 | 418 | 0x02: 'sect163r1',
|
|
437 | 447 | 0x1a: 'brainpoolP256r1',
|
438 | 448 | 0x1b: 'brainpoolP384r1',
|
439 | 449 | 0x1c: 'brainpoolP512r1',
|
440 |
| - 0x1d: 'ecdh_x25519', |
441 |
| - 0x1e: 'ecdh_x448', |
| 450 | + 0x1d: 'x25519', |
| 451 | + 0x1e: 'x448', |
442 | 452 | 0xff00: 'Unassigned',
|
443 | 453 | 0xff01: 'arbitrary_explicit_prime_curves',
|
444 | 454 | 0xff02: 'arbitrary_explicit_char2_curves',
|
445 |
| -} |
446 |
| -EC_POINT_FORMAT_REGISTRY = { |
| 455 | + } |
| 456 | +TLS_EC_POINT_FORMAT_REGISTRY = { |
447 | 457 | 0x00: 'uncompressed',
|
448 | 458 | 0x01: 'ansiX962_compressed_prime',
|
449 | 459 | 0x02: 'ansiX962_compressed_char2',
|
450 |
| -} |
451 |
| -EC_CURVE_TYPE_REGISTRY = { |
| 460 | + } |
| 461 | +TLS_EC_CURVE_TYPE_REGISTRY = { |
452 | 462 | 0x00: 'Unassigned',
|
453 | 463 | 0x01: 'explicit_prime',
|
454 | 464 | 0x02: 'explicit_char2',
|
455 | 465 | 0x03: 'named_curve',
|
456 |
| -} |
| 466 | + } |
457 | 467 | TLS_SUPPLEMENTAL_DATA_FORMATS = {
|
458 | 468 | 0x00: 'user_mapping_data',
|
459 | 469 | 0x4002: 'authz_data',
|
460 |
| -} |
| 470 | + } |
461 | 471 | TLS_USERMAPPINGTYPE_VALUES = {
|
462 | 472 | 0x40: 'upn_domain_hint',
|
463 |
| -} |
| 473 | + } |
464 | 474 | TLS_SIGNATUREALGORITHM_REGISTRY = {
|
465 | 475 | 0x00: 'anonymous',
|
466 | 476 | 0x01: 'rsa',
|
467 | 477 | 0x02: 'dsa',
|
468 | 478 | 0x03: 'ecdsa',
|
469 |
| -} |
| 479 | + 0x07: 'ed25519', |
| 480 | + 0x08: 'ed448', |
| 481 | + } |
470 | 482 | TLS_HASHALGORITHM_REGISTRY = {
|
471 | 483 | 0x00: 'none',
|
472 | 484 | 0x01: 'md5',
|
|
475 | 487 | 0x04: 'sha256',
|
476 | 488 | 0x05: 'sha384',
|
477 | 489 | 0x06: 'sha512',
|
478 |
| -} |
| 490 | + 0x07: 'Unassigned', |
| 491 | + 0x08: 'Intrinsic', |
| 492 | + } |
479 | 493 | # Skipping: AttributeError("'NoneType' object has no attribute 'text'",)
|
480 | 494 | # Skipping: AttributeError("'NoneType' object has no attribute 'text'",)
|
481 | 495 | # Skipping: AttributeError("'NoneType' object has no attribute 'text'",)
|
|
493 | 507 | # Skipping: AttributeError("'NoneType' object has no attribute 'text'",)
|
494 | 508 | # Skipping: AttributeError("'NoneType' object has no attribute 'text'",)
|
495 | 509 | TLS_EXPORTER_LABEL_REGISTRY = {
|
496 |
| -} |
| 510 | + } |
497 | 511 | TLS_AUTHORIZATION_DATA_FORMATS = {
|
498 | 512 | 0x00: 'x509_attr_cert',
|
499 | 513 | 0x01: 'saml_assertion',
|
|
502 | 516 | 0x40: 'keynote_assertion_list',
|
503 | 517 | 0x41: 'keynote_assertion_list_url',
|
504 | 518 | 0x42: 'dtcp_authorization',
|
505 |
| -} |
| 519 | + } |
506 | 520 | HEARTBEAT_MESSAGE_TYPES = {
|
507 | 521 | 0x00: 'Reserved',
|
508 | 522 | 0x01: 'heartbeat_request',
|
509 | 523 | 0x02: 'heartbeat_response',
|
510 | 524 | 0xff: 'Reserved',
|
511 |
| -} |
| 525 | + } |
512 | 526 | HEARTBEAT_MODES = {
|
513 | 527 | 0x00: 'Reserved',
|
514 | 528 | 0x01: 'peer_allowed_to_send',
|
515 | 529 | 0x02: 'peer_not_allowed_to_send',
|
516 | 530 | 0xff: 'Reserved',
|
517 |
| -} |
| 531 | + } |
518 | 532 | # Generator: fetch_iana_tls_registry.py
|
519 |
| -# date: 2016-09-28 |
| 533 | +# date: 2018-02-12 |
520 | 534 | # sources: https://www.iana.org/assignments/comp-meth-ids/comp-meth-ids.xml
|
521 | 535 | # WARNING! THIS FILE IS AUTOGENERATED, DO NOT EDIT!
|
522 | 536 |
|
523 | 537 | TLS_COMPRESSION_METHOD_IDENTIFIERS = {
|
524 | 538 | 0x00: 'NULL',
|
525 | 539 | 0x01: 'DEFLATE',
|
526 | 540 | 0x40: 'LZS',
|
527 |
| -} |
| 541 | + } |
528 | 542 | # Generator: fetch_iana_tls_registry.py
|
529 |
| -# date: 2016-09-28 |
| 543 | +# date: 2018-02-12 |
530 | 544 | # sources: https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xml
|
531 | 545 | # WARNING! THIS FILE IS AUTOGENERATED, DO NOT EDIT!
|
532 | 546 |
|
|
559 | 573 | 0x19: 'cached_info',
|
560 | 574 | 0x23: 'SessionTicket_TLS',
|
561 | 575 | 0xff01: 'renegotiation_info',
|
562 |
| -} |
| 576 | + } |
563 | 577 | TLS_CERTIFICATE_TYPES = {
|
564 | 578 | 0x00: 'X_509',
|
565 | 579 | 0x01: 'OpenPGP',
|
566 | 580 | 0x02: 'Raw_Public_Key',
|
567 |
| -} |
| 581 | + } |
568 | 582 | TLS_CERTIFICATE_STATUS_TYPES = {
|
569 | 583 | 0x00: 'Reserved',
|
570 | 584 | 0x01: 'ocsp',
|
571 | 585 | 0x02: 'ocsp_multi',
|
572 |
| -} |
| 586 | + } |
573 | 587 | APPLICATION_LAYER_PROTOCOL_NEGOTIATION_PROTOCOL_IDS = {
|
574 | 588 | 'c-webrtc': 'Confidential_WebRTC_Media_and_Data',
|
| 589 | + 'coap': 'CoAP', |
575 | 590 | 'ftp': 'FTP',
|
576 | 591 | 'h2': 'HTTP_2_over_TLS',
|
577 | 592 | 'h2c': 'HTTP_2_over_TCP',
|
578 | 593 | 'http/1.1': 'HTTP_1_1',
|
| 594 | + 'imap': 'IMAP', |
| 595 | + 'managesieve': 'ManageSieve', |
| 596 | + 'pop3': 'POP3', |
579 | 597 | 'spdy/1': 'SPDY_1',
|
580 | 598 | 'spdy/2': 'SPDY_2',
|
581 | 599 | 'spdy/3': 'SPDY_3',
|
582 | 600 | 'stun.nat-discovery': 'NAT_discovery_using_Session_Traversal_Utilities_for_NAT',
|
583 | 601 | 'stun.turn': 'Traversal_Using_Relays_around_NAT',
|
584 | 602 | 'webrtc': 'WebRTC_Media_and_Data',
|
585 |
| -} |
| 603 | + } |
586 | 604 | TLS_CACHEDINFORMATIONTYPE_VALUES = {
|
587 | 605 | 0x00: 'Reserved',
|
588 | 606 | 0x01: 'cert',
|
589 | 607 | 0x02: 'cert_req',
|
590 |
| -} |
| 608 | + } |
0 commit comments