summaryrefslogtreecommitdiffstats
path: root/src/tests/asn.1/trval_reference.out
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2013-09-09 14:23:56 -0400
committerGreg Hudson <ghudson@mit.edu>2014-06-02 17:58:26 -0400
commitbb89afd7c59deea855d2818fe36ef7472b4abf2e (patch)
treed5e010a26e547c0fdd45ae3608ac3066bfb15f7f /src/tests/asn.1/trval_reference.out
parentd0be57ac45ea639baa3cff0dd2108c34e834bfa7 (diff)
downloadkrb5-bb89afd7c59deea855d2818fe36ef7472b4abf2e.tar.gz
krb5-bb89afd7c59deea855d2818fe36ef7472b4abf2e.tar.xz
krb5-bb89afd7c59deea855d2818fe36ef7472b4abf2e.zip
Add ASN.1 codec for KKDCP's KDC-PROXY-MESSAGE
Handle encoding and decoding [MS-KKDCP] proxy messages, including handling of the additional length bytes. Early versions of [MS-KKDCP] incorrectly omit that the size of the proxied message is prepended to the proxied message, as it is when we're using plain TCP, before encoding the proxy-message structure. This is fixed at least as of version 2.1 of the spec. [nalin@redhat.com: add tests] ticket: 7929
Diffstat (limited to 'src/tests/asn.1/trval_reference.out')
-rw-r--r--src/tests/asn.1/trval_reference.out37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/tests/asn.1/trval_reference.out b/src/tests/asn.1/trval_reference.out
index 461021e07..599580cc3 100644
--- a/src/tests/asn.1/trval_reference.out
+++ b/src/tests/asn.1/trval_reference.out
@@ -1478,3 +1478,40 @@ encode_krb5_pa_otp_enc_req:
[Sequence/Sequence Of]
. [0] <8>
6b 72 62 35 64 61 74 61 krb5data
+
+encode_krb5_kkdcp_message:
+
+[Sequence/Sequence Of]
+. [0] [Octet String] <488>
+ 6a 82 01 e4 30 82 01 e0 a1 03 02 01 05 a2 03 02 j...0...........
+ 01 0a a3 26 30 24 30 10 a1 03 02 01 0d a2 09 04 ...&0$0.........
+ 07 70 61 2d 64 61 74 61 30 10 a1 03 02 01 0d a2 .pa-data0.......
+ 09 04 07 70 61 2d 64 61 74 61 a4 82 01 aa 30 82 ...pa-data....0.
+ 01 a6 a0 07 03 05 00 fe dc ba 98 a1 1a 30 18 a0 .............0..
+ 03 02 01 01 a1 11 30 0f 1b 06 68 66 74 73 61 69 ......0...hftsai
+ 1b 05 65 78 74 72 61 a2 10 1b 0e 41 54 48 45 4e ..extra....ATHEN
+ 41 2e 4d 49 54 2e 45 44 55 a3 1a 30 18 a0 03 02 A.MIT.EDU..0....
+ 01 01 a1 11 30 0f 1b 06 68 66 74 73 61 69 1b 05 ....0...hftsai..
+ 65 78 74 72 61 a4 11 18 0f 31 39 39 34 30 36 31 extra....1994061
+ 30 30 36 30 33 31 37 5a a5 11 18 0f 31 39 39 34 0060317Z....1994
+ 30 36 31 30 30 36 30 33 31 37 5a a6 11 18 0f 31 0610060317Z....1
+ 39 39 34 30 36 31 30 30 36 30 33 31 37 5a a7 03 9940610060317Z..
+ 02 01 2a a8 08 30 06 02 01 00 02 01 01 a9 20 30 ..*..0........ 0
+ 1e 30 0d a0 03 02 01 02 a1 06 04 04 12 d0 00 23 .0.............#
+ 30 0d a0 03 02 01 02 a1 06 04 04 12 d0 00 23 aa 0.............#.
+ 25 30 23 a0 03 02 01 00 a1 03 02 01 05 a2 17 04 %0#.............
+ 15 6b 72 62 41 53 4e 2e 31 20 74 65 73 74 20 6d .krbASN.1 test m
+ 65 73 73 61 67 65 ab 81 bf 30 81 bc 61 5c 30 5a essage...0..a\0Z
+ a0 03 02 01 05 a1 10 1b 0e 41 54 48 45 4e 41 2e .........ATHENA.
+ 4d 49 54 2e 45 44 55 a2 1a 30 18 a0 03 02 01 01 MIT.EDU..0......
+ a1 11 30 0f 1b 06 68 66 74 73 61 69 1b 05 65 78 ..0...hftsai..ex
+ 74 72 61 a3 25 30 23 a0 03 02 01 00 a1 03 02 01 tra.%0#.........
+ 05 a2 17 04 15 6b 72 62 41 53 4e 2e 31 20 74 65 .....krbASN.1 te
+ 73 74 20 6d 65 73 73 61 67 65 61 5c 30 5a a0 03 st messagea\0Z..
+ 02 01 05 a1 10 1b 0e 41 54 48 45 4e 41 2e 4d 49 .......ATHENA.MI
+ 54 2e 45 44 55 a2 1a 30 18 a0 03 02 01 01 a1 11 T.EDU..0........
+ 30 0f 1b 06 68 66 74 73 61 69 1b 05 65 78 74 72 0...hftsai..extr
+ 61 a3 25 30 23 a0 03 02 01 00 a1 03 02 01 05 a2 a.%0#...........
+ 17 04 15 6b 72 62 41 53 4e 2e 31 20 74 65 73 74 ...krbASN.1 test
+ 20 6d 65 73 73 61 67 65 message
+. [1] [General string] "krb5data"