package org.bouncycastle.crypto.tls;

/**
 * RFC 4366 2.3
 */
public class ExtensionType
{
    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 4492
     */
    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 5746 6
     */
    public static final int renegotiation_info = 0xff01;
}

@@ -35,32 +35,8 @@
 s;%0A%0A
-/**%0A * RFC 4366 2.3%0A */%0A
 publ
@@ -60,16 +60,52 @@
 nType%0A%7B%0A
+    /*%0A     * RFC 6066 1.1.%0A     */%0A
     publ
@@ -418,16 +418,21 @@
 RFC 4492
+ 5.1.
 %0A     */
@@ -562,16 +562,17 @@
 54 2.8.1
+.
 %0A     */
@@ -634,13 +634,112 @@
 FC 5
-746 6
+246 7.4.1.4.%0A     */%0A    public static final int signature_algorithms = 13;%0A%0A    /*%0A     * RFC 5746 3.2.
 %0A   

Add extension type from RFC 5246