package org.bouncycastle.crypto.tls;

public class ExtensionType
{
    /*
     * RFC 2546 2.3.
     */
    public static final int server_name = 0;
    public static final int max_fragment_length = 1;
    public static final int client_certificate_url = 2;
    public static final int trusted_ca_keys = 3;
    public static final int truncated_hmac = 4;
    public static final int status_request = 5;

    /*
     * RFC 4681
     */
    public static final int user_mapping = 6;

    /*
     * RFC 4492 5.1.
     */
    public static final int elliptic_curves = 10;
    public static final int ec_point_formats = 11;

    /*
     * RFC 5054 2.8.1.
     */
    public static final int srp = 12;

    /*
     * RFC 5246 7.4.1.4.
     */
    public static final int signature_algorithms = 13;

    /*
     * RFC 5764 9.
     */
    public static final int use_srtp = 14;

    /*
     * RFC 6520 6.
     */
    public static final int heartbeat = 15;

    /*
     * RFC 7366
     */
    public static final int encrypt_then_mac = 22;

    /*
     * draft-ietf-tls-session-hash-04
     * 
     * NOTE: Early code-point assignment
     */
    public static final int extended_master_secret = 23;

    /*
     * RFC 5077 7.
     */
    public static final int session_ticket = 35;

    /*
     * draft-ietf-tls-negotiated-ff-dhe-01
     * 
     * WARNING: Placeholder value; the real value is TBA
     */
    public static final int negotiated_ff_dhe_groups = 101;

    /*
     * RFC 5746 3.2.
     */
    public static final int renegotiation_info = 0xff01;
}

@@ -496,22 +496,395 @@
 RFC 
-4492 5.1.%0A    
+5878%0A     */%0A    public static final int client_authz = 7;%0A    public static final int server_authz = 8;%0A%0A    /*%0A     * RFC RFC6091%0A     */%0A    public static final int cert_type = 9;%0A%0A    /*%0A     * draft-ietf-tls-negotiated-ff-dhe-10%0A     */%0A    public static final int supported_groups = 10;%0A%0A    /*%0A     * RFC 4492 5.1.%0A     */%0A    /** @deprecated Use %7B@link #supported_groups%7D instead
  */%0A
@@ -929,18 +929,32 @@
 urves = 
-10
+supported_groups
 ;%0A    pu
@@ -1353,10 +1353,10 @@
 C 73
-66
+01
 %0A   
@@ -1392,29 +1392,230 @@
 int 
-encrypt_then_mac = 22
+application_layer_protocol_negotiation = 16;%0A%0A    /*%0A     * RFC 6961%0A     */%0A    public static final int status_request_v2 = 17;%0A%0A    /*%0A     * RFC 6962%0A     */%0A    public static final int signed_certificate_timestamp = 18
 ;%0A%0A 
@@ -1631,87 +1631,321 @@
   * 
-draft-ietf-tls-session-hash-04%0A     * %0A     * NOTE: Early code-point assignment
+RFC 7250%0A     */%0A    public static final int client_certificate_type = 19;%0A    public static final int server_certificate_type = 20;%0A%0A    /*%0A     * RFC 7685%0A     */%0A    public static final int padding = 21;%0A%0A    /*%0A     * RFC 7366%0A     */%0A    public static final int encrypt_then_mac = 22;%0A%0A    /*%0A     * RFC 7627
 %0A   

Add various ExtensionType values