equal
deleted
inserted
replaced
66 */ |
66 */ |
67 final class ServerNameExtension extends HelloExtension { |
67 final class ServerNameExtension extends HelloExtension { |
68 |
68 |
69 // For backward compatibility, all future data structures associated with |
69 // For backward compatibility, all future data structures associated with |
70 // new NameTypes MUST begin with a 16-bit length field. |
70 // new NameTypes MUST begin with a 16-bit length field. |
71 final static int NAME_HEADER_LENGTH = 3; // NameType: 1 byte |
71 static final int NAME_HEADER_LENGTH = 3; // NameType: 1 byte |
72 // Name length: 2 bytes |
72 // Name length: 2 bytes |
73 private Map<Integer, SNIServerName> sniMap; |
73 private Map<Integer, SNIServerName> sniMap; |
74 private int listLength; // ServerNameList length |
74 private int listLength; // ServerNameList length |
75 |
75 |
76 // constructor for ServerHello |
76 // constructor for ServerHello |