th5/testdata/Client-TLSv10-ECDHE-ECDSA-AES
Jonathan Rudenberg 8ea126be4d crypto/tls: add support for Certificate Transparency
This change adds support for serving and receiving Signed Certificate
Timestamps as described in RFC 6962.

The server is now capable of serving SCTs listed in the Certificate
structure. The client now asks for SCTs and, if any are received,
they are exposed in the ConnectionState structure.

Fixes #10201

Change-Id: Ib3adae98cb4f173bc85cec04d2bdd3aa0fec70bb
Reviewed-on: https://go-review.googlesource.com/8988
Reviewed-by: Adam Langley <agl@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
Reviewed-by: Jonathan Rudenberg <jonathan@titanous.com>
2015-04-26 16:53:11 +00:00

89 lines
6.5 KiB
Plaintext

>>> Flow 1 (client to server)
00000000 16 03 01 00 7d 01 00 00 79 03 03 00 00 00 00 00 |....}...y.......|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 1e c0 2f |.............../|
00000030 c0 2b c0 30 c0 2c c0 11 c0 07 c0 13 c0 09 c0 14 |.+.0.,..........|
00000040 c0 0a 00 05 00 2f 00 35 c0 12 00 0a 01 00 00 32 |...../.5.......2|
00000050 00 05 00 05 01 00 00 00 00 00 0a 00 08 00 06 00 |................|
00000060 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0a 00 |................|
00000070 08 04 01 04 03 02 01 02 03 ff 01 00 01 00 00 12 |................|
00000080 00 00 |..|
>>> Flow 2 (server to client)
00000000 16 03 01 00 59 02 00 00 55 03 01 0b ed c6 10 bb |....Y...U.......|
00000010 d6 01 89 bd 70 f2 ac 4f 65 2d 6f 62 3c bc 88 c9 |....p..Oe-ob<...|
00000020 51 25 2b c4 bd cc c2 c5 5f 3e c1 20 ad 6f 8d 1f |Q%+....._>. .o..|
00000030 a5 c5 41 8e 11 1c 63 94 6e 1f 63 68 fd 18 d2 c8 |..A...c.n.ch....|
00000040 8c 17 14 8a 89 42 0f 02 c1 19 7e 1a c0 09 00 00 |.....B....~.....|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
00000060 01 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..|
00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....|
00000080 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 0b 30 |0...*.H.=..0E1.0|
00000090 09 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 |...U....AU1.0...|
000000a0 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 |U....Some-State1|
000000b0 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e |!0...U....Intern|
000000c0 65 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c |et Widgits Pty L|
000000d0 74 64 30 1e 17 0d 31 32 31 31 32 32 31 35 30 36 |td0...1211221506|
000000e0 33 32 5a 17 0d 32 32 31 31 32 30 31 35 30 36 33 |32Z..22112015063|
000000f0 32 5a 30 45 31 0b 30 09 06 03 55 04 06 13 02 41 |2Z0E1.0...U....A|
00000100 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d 65 |U1.0...U....Some|
00000110 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a 13 |-State1!0...U...|
00000120 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 74 |.Internet Widgit|
00000130 73 20 50 74 79 20 4c 74 64 30 81 9b 30 10 06 07 |s Pty Ltd0..0...|
00000140 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 |*.H.=....+...#..|
00000150 86 00 04 00 c4 a1 ed be 98 f9 0b 48 73 36 7e c3 |...........Hs6~.|
00000160 16 56 11 22 f2 3d 53 c3 3b 4d 21 3d cd 6b 75 e6 |.V.".=S.;M!=.ku.|
00000170 f6 b0 dc 9a df 26 c1 bc b2 87 f0 72 32 7c b3 64 |.....&.....r2|.d|
00000180 2f 1c 90 bc ea 68 23 10 7e fe e3 25 c0 48 3a 69 |/....h#.~..%.H:i|
00000190 e0 28 6d d3 37 00 ef 04 62 dd 0d a0 9c 70 62 83 |.(m.7...b....pb.|
000001a0 d8 81 d3 64 31 aa 9e 97 31 bd 96 b0 68 c0 9b 23 |...d1...1...h..#|
000001b0 de 76 64 3f 1a 5c 7f e9 12 0e 58 58 b6 5f 70 dd |.vd?.\....XX._p.|
000001c0 9b d8 ea d5 d7 f5 d5 cc b9 b6 9f 30 66 5b 66 9a |...........0f[f.|
000001d0 20 e2 27 e5 bf fe 3b 30 09 06 07 2a 86 48 ce 3d | .'...;0...*.H.=|
000001e0 04 01 03 81 8c 00 30 81 88 02 42 01 88 a2 4f eb |......0...B...O.|
000001f0 e2 45 c5 48 7d 1b ac f5 ed 98 9d ae 47 70 c0 5e |.E.H}.......Gp.^|
00000200 1b b6 2f bd f1 b6 4d b7 61 40 d3 11 a2 ce ee 0b |../...M.a@......|
00000210 7e 92 7e ff 76 9d c3 3b 7e a5 3f ce fa 10 e2 59 |~.~.v..;~.?....Y|
00000220 ec 47 2d 7c ac da 4e 97 0e 15 a0 6f d0 02 42 01 |.G-|..N....o..B.|
00000230 4d fc be 67 13 9c 2d 05 0e bd 3f a3 8c 25 c1 33 |M..g..-...?..%.3|
00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....|
00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.|
00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....|
00000270 2a 16 03 01 00 d5 0c 00 00 d1 03 00 17 41 04 95 |*............A..|
00000280 13 2e d8 9d 00 71 1b a5 a7 ee 0f bd e8 46 6c b5 |.....q.......Fl.|
00000290 63 ba 88 49 80 98 ca 15 79 50 75 62 19 33 84 4f |c..I....yPub.3.O|
000002a0 fb f4 5c 94 20 25 61 81 d4 c8 d5 fa 23 53 84 cb |..\. %a.....#S..|
000002b0 84 68 38 93 b7 b4 6f b9 83 a8 1b ed 45 fd 9f 00 |.h8...o.....E...|
000002c0 8a 30 81 87 02 42 01 aa 42 6b 9a ab 46 81 36 eb |.0...B..Bk..F.6.|
000002d0 95 0f 15 d8 32 51 37 cd 4d 4b f6 a1 ef cf f9 c4 |....2Q7.MK......|
000002e0 91 76 be c3 37 a8 6f de 9e ad c5 8f 1d 50 96 c4 |.v..7.o......P..|
000002f0 0a bf c7 24 1b 62 e2 cb db 96 e2 9e 40 4b 2f 0a |...$.b......@K/.|
00000300 96 f9 83 2e c2 a1 9a 27 02 41 39 2b d6 f5 b5 2b |.......'.A9+...+|
00000310 76 5b fa 88 e8 a2 d9 c9 aa b9 a4 33 85 f3 d1 87 |v[.........3....|
00000320 b3 4c e4 73 63 55 20 f4 f6 2c 32 33 5a a8 e8 41 |.L.scU ..,23Z..A|
00000330 13 d1 2d ef cd 86 8d 98 ba 52 32 bc bf c4 66 25 |..-......R2...f%|
00000340 62 22 53 59 5f 64 15 ed 5a 31 89 16 03 01 00 04 |b"SY_d..Z1......|
00000350 0e 00 00 00 |....|
>>> Flow 3 (client to server)
00000000 16 03 01 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..|
00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.|
00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.|
00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I|
00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 01 00 01 |..h.A.Vk.Z......|
00000050 01 16 03 01 00 30 7f f0 e3 39 82 31 46 e3 5a cc |.....0...9.1F.Z.|
00000060 68 40 83 69 37 1b 8e d5 30 34 6f ab 23 91 3f 2c |h@.i7...04o.#.?,|
00000070 bd 0d 89 d9 d9 c9 11 64 54 02 e1 fc d2 5e a4 07 |.......dT....^..|
00000080 88 de c5 5e ab 1b |...^..|
>>> Flow 4 (server to client)
00000000 14 03 01 00 01 01 16 03 01 00 30 e0 39 c9 77 b6 |..........0.9.w.|
00000010 cb 9a eb e5 47 c4 d7 5f 42 22 6d 0d c8 23 9a b5 |....G.._B"m..#..|
00000020 bb 56 38 f8 6e de fd b5 0d d2 28 d0 ee 38 ad 76 |.V8.n.....(..8.v|
00000030 b7 83 f7 6b 21 89 de b9 65 e9 77 |...k!...e.w|
>>> Flow 5 (client to server)
00000000 17 03 01 00 20 36 a7 d4 98 b5 2a 24 ca 98 34 4d |.... 6....*$..4M|
00000010 59 0c d4 03 04 02 23 17 4b a4 77 68 45 1e c0 74 |Y.....#.K.whE..t|
00000020 c3 e7 7d 97 d4 17 03 01 00 20 cb d5 ac 68 dd 5a |..}...... ...h.Z|
00000030 41 a7 86 c5 7e 1e 51 51 4e d5 c8 03 3f ee 69 39 |A...~.QQN...?.i9|
00000040 87 8e a1 20 8f af 99 8a cb 9f 15 03 01 00 20 a7 |... .......... .|
00000050 77 e8 00 f1 71 89 49 6d 87 c6 20 19 bc cf 52 42 |w...q.Im.. ...RB|
00000060 72 78 4c cd 1d 6d a1 cc ab 6f b5 ea 87 a6 b4 |rxL..m...o.....|