From: Theodore Tso Date: Fri, 29 Jan 1999 01:07:32 +0000 (+0000) Subject: trval.c: Now understands krb5 structure elements X-Git-Tag: krb5-1.1-beta1~388 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=836260eaa4d0cc7d58018f05ec63d7c763568708;p=krb5.git trval.c: Now understands krb5 structure elements krb5_encode_test.c: Pass trval type hints to trval2() so that datastructures get properly decoded. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11136 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog index 74d8d3b65..710584f34 100644 --- a/src/tests/asn.1/ChangeLog +++ b/src/tests/asn.1/ChangeLog @@ -1,3 +1,10 @@ +Thu Jan 28 20:04:52 1999 Theodore Y. Ts'o + + * trval.c: Now understands krb5 structure elements. + + * krb5_encode_test.c: Pass trval type hints to trval2() so that + datastructures get properly decoded. + Fri Jan 22 02:08:59 1999 Theodore Y. Ts'o * trval.c: Added usage message, better options parsing, and diff --git a/src/tests/asn.1/Makefile.in b/src/tests/asn.1/Makefile.in index 20d7451e5..54ee75e2a 100644 --- a/src/tests/asn.1/Makefile.in +++ b/src/tests/asn.1/Makefile.in @@ -53,6 +53,7 @@ clean:: ################ Dependencies ################ krb5_decode_test.o: ktest.h utility.h ktest_equal.h debug.h krb5_encode_test.o: utility.h ktest.h debug.h +trval.o: trval.c ktest.o: ktest.h utility.h ktest_equal.o: ktest_equal.h #utility.o: utility.h diff --git a/src/tests/asn.1/krb5_encode_test.c b/src/tests/asn.1/krb5_encode_test.c index 68fd44104..e02fe743b 100644 --- a/src/tests/asn.1/krb5_encode_test.c +++ b/src/tests/asn.1/krb5_encode_test.c @@ -8,6 +8,8 @@ #include "debug.h" +extern int current_appl_type; + krb5_context test_context; int error_count = 0; int do_trval = 0; @@ -35,6 +37,7 @@ void encoder_print_results(code, typestring, description) printf("Error: Return from trval2 is %d.\n", r); exit(1); } + current_appl_type = -1; /* Reset type */ } else { retval = asn1_krb5_data_unparse(code,&(code_string)); if(retval) { @@ -145,6 +148,7 @@ main(argc, argv) { krb5_keyblock keyblk; setup(keyblk,keyblock,"keyblock",ktest_make_sample_keyblock); + current_appl_type = 1005; encode_run(keyblk,keyblock,"keyblock","",encode_krb5_encryption_key); } @@ -318,6 +322,7 @@ main(argc, argv) krb5_kdc_req kdcrb; setup(kdcrb,kdc_req_body,"kdc_req_body",ktest_make_sample_kdc_req_body); kdcrb.kdc_options &= ~KDC_OPT_ENC_TKT_IN_SKEY; + current_appl_type = 1007; /* Force interpretation as kdc-req-body */ encode_run(kdcrb,kdc_req_body,"kdc_req_body","",encode_krb5_kdc_req_body); ktest_destroy_principal(&(kdcrb.client)); @@ -329,6 +334,7 @@ main(argc, argv) kdcrb.rtime = 0; ktest_destroy_addresses(&(kdcrb.addresses)); ktest_destroy_enc_data(&(kdcrb.authorization_data)); + current_appl_type = 1007; /* Force interpretation as kdc-req-body */ encode_run(kdcrb,kdc_req_body,"kdc_req_body","(optionals NULL except second_ticket)",encode_krb5_kdc_req_body); ktest_destroy_sequence_of_ticket(&(kdcrb.second_ticket)); @@ -336,6 +342,7 @@ main(argc, argv) ktest_make_sample_principal(&(kdcrb.server)); #endif kdcrb.kdc_options &= ~KDC_OPT_ENC_TKT_IN_SKEY; + current_appl_type = 1007; /* Force interpretation as kdc-req-body */ encode_run(kdcrb,kdc_req_body,"kdc_req_body","(optionals NULL except server)",encode_krb5_kdc_req_body); } @@ -430,6 +437,7 @@ main(argc, argv) com_err("encoding authorization_data",retval,""); exit(1); } + current_appl_type = 1004; /* Force type to be authdata */ encoder_print_results(code, "authorization_data", ""); } @@ -539,6 +547,7 @@ main(argc, argv) { krb5_enc_data enc_data; setup(enc_data,krb5_enc_data,"enc_data",ktest_make_sample_enc_data); + current_appl_type = 1001; encode_run(enc_data,krb5_enc_data,"enc_data","",encode_krb5_enc_data); } /****************************************************************/ diff --git a/src/tests/asn.1/trval.c b/src/tests/asn.1/trval.c index ed393dbe5..bfe0abda4 100644 --- a/src/tests/asn.1/trval.c +++ b/src/tests/asn.1/trval.c @@ -93,7 +93,7 @@ int print_id_and_len = 1; int print_constructed_length = 1; int print_primitive_length = 1; int print_skip_context = 0; -int print_skip_tagnum = 0; +int print_skip_tagnum = 1; int print_context_shortcut = 0; int do_hex = 0; #ifdef KRB5 @@ -111,7 +111,7 @@ int trval(), trval2(), decode_len(), do_cons(), do_prim(); void usage() { - fprintf(stderr, "Usage: trval [--types] [--krb5] [--hex] [file]\n"); + fprintf(stderr, "Usage: trval [--types] [--krb5] [--krb5decode] [--hex] [-notypebytes] [file]\n"); exit(1); } @@ -151,8 +151,14 @@ int main(argc, argv) print_types = 0; else if (check_option(*argv, "krb5")) print_krb5_types = 1; - else if (check_option(*argv, "hex")) { + else if (check_option(*argv, "hex")) do_hex = 1; + else if (check_option(*argv, "notypebytes")) + print_id_and_len = 0; + else if (check_option(*argv, "krb5decode")) { + print_id_and_len = 0; + print_krb5_types = 1; + print_types = 1; } else { fprintf(stderr,"trval: unknown option: %s\n", *argv); usage(); @@ -283,8 +289,6 @@ context_restart: switch(eid & ID_FORM) { case FORM_PRIM: - if (print_primitive_length) - fprintf(fp, "<%d>", elen); r = do_prim(fp, eid & ID_TAG, enc+2+xlen, elen, lev+1); *rlen = 2 + xlen + elen + rlen_ext; break; @@ -320,7 +324,87 @@ int decode_len(fp, enc, len) return(rlen); } -#define WIDTH 8 +/* + * This is the printing function for bit strings + */ +int do_prim_bitstring(fp, tag, enc, len, lev) + FILE *fp; + int tag; + unsigned char *enc; + int len; + int lev; +{ + int i; + long num = 0; + + if (tag != PRIM_BITS || len > 5) + return 0; + + for (i=1; i < len; i++) { + num = num << 8; + num += enc[i]; + } + + fprintf(fp, "0x%lx", num); + if (enc[0]) + fprintf(fp, " (%d unused bits)", enc[0]); + return 1; +} + +/* + * This is the printing function for integers + */ +int do_prim_int(fp, tag, enc, len, lev) + FILE *fp; + int tag; + unsigned char *enc; + int len; + int lev; +{ + int i; + long num = 0; + + if (tag != PRIM_INT || len > 4) + return 0; + + if (enc[0] & 0x80) + num = -1; + + for (i=0; i < len; i++) { + num = num << 8; + num += enc[i]; + } + + fprintf(fp, "%ld", num); + return 1; +} + + +/* + * This is the printing function which we use if it's a string or + * other other type which is best printed as a string + */ +int do_prim_string(fp, tag, enc, len, lev) + FILE *fp; + int tag; + unsigned char *enc; + int len; + int lev; +{ + int i; + + /* + * Only try this printing function with "reasonable" types + */ + if ((tag < DEFN_NUMS) && (tag != PRIM_OCTS)) + return 0; + + for (i=0; i < len; i++) + if (!isprint(enc[i])) + return 0; + fprintf(fp, "\"%.*s\"", len, enc); + return 1; +} int do_prim(fp, tag, enc, len, lev) FILE *fp; @@ -332,28 +416,41 @@ int do_prim(fp, tag, enc, len, lev) int n; int i; int j; + int width; + + if (do_prim_string(fp, tag, enc, len, lev)) + return OK; + if (do_prim_int(fp, tag, enc, len, lev)) + return OK; + if (do_prim_bitstring(fp, tag, enc, len, lev)) + return OK; + + if (print_primitive_length) + fprintf(fp, "<%d>", len); + + width = (80 - (lev * 3) - 8) / 4; for (n = 0; n < len; n++) { - if ((n % WIDTH) == 0) { + if ((n % width) == 0) { fprintf(fp, "\n"); - for (i=0; i - 05 . -. . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [2] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <4> - 31 32 33 34 1234 -. . [4] [Integer] <3> - 01 e2 40 ..@ -. . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [6] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . [7] [Integer] <1> - 11 . -. . [8] [Sequence/Sequence Of] +. . [authenticator-vno] [Integer] 5 +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [cksum] [Sequence/Sequence Of] +. . . [cksumtype] [Integer] 1 +. . . [checksum] [Octet String] "1234" +. . [cusec] [Integer] 123456 +. . [ctime] [Generalized Time] "19940610060317Z" +. . [subkey] [Sequence/Sequence Of] +. . . [keytype] [Integer] 1 +. . . [keyvalue] [Octet String] "12345678" +. . [seq-number] [Integer] 17 +. . [authorization-data] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Octet String] <6> - 66 6f 6f 62 61 72 foobar +. . . . [ad-type] [Integer] 1 +. . . . [ad-data] [Octet String] "foobar" . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Octet String] <6> - 66 6f 6f 62 61 72 foobar +. . . . [ad-type] [Integer] 1 +. . . . [ad-data] [Octet String] "foobar" encode_krb5_authenticator(optionals empty): -[APPL 2 Krb5 Autenticator] +[Krb5 Autenticator] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [2] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [4] [Integer] <3> - 01 e2 40 ..@ -. . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z +. . [authenticator-vno] [Integer] 5 +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [cusec] [Integer] 123456 +. . [ctime] [Generalized Time] "19940610060317Z" encode_krb5_authenticator(optionals NULL): -[APPL 2 Krb5 Autenticator] +[Krb5 Autenticator] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [2] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [4] [Integer] <3> - 01 e2 40 ..@ -. . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z +. . [authenticator-vno] [Integer] 5 +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [cusec] [Integer] 123456 +. . [ctime] [Generalized Time] "19940610060317Z" encode_krb5_ticket: -[APPL 1 Krb5 Ticket] +[Krb5 Ticket] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [2] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . [tkt-vno] [Integer] 5 +. . [realm] [General string] "ATHENA.MIT.EDU" +. . [sname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [tkt-enc-part] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_keyblock: [Sequence/Sequence Of] -. [0] [Integer] <1> - 01 . -. [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 +. [keytype] [Integer] 1 +. [keyvalue] [Octet String] "12345678" encode_krb5_enc_tkt_part: -[APPL 3 Krb5 Encrypted ticket part] +[Krb5 Encrypted ticket part] . [Sequence/Sequence Of] -. . [0] [Bit String] <5> - 00 fe dc ba 98 ..... -. . [1] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <35> - 45 44 55 2c 4d 49 54 2e EDU,MIT. - 2c 41 54 48 45 4e 41 2e ,ATHENA. - 2c 57 41 53 48 49 4e 47 ,WASHING - 54 4f 4e 2e 45 44 55 2c TON.EDU, - 43 53 2e CS. -. . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [7] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [8] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [9] [Sequence/Sequence Of] +. . [flags] [Bit String] 0xfedcba98 +. . [key] [Sequence/Sequence Of] +. . . [keytype] [Integer] 1 +. . . [keyvalue] [Octet String] "12345678" +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [transited] [Sequence/Sequence Of] +. . . [flags] [Integer] 1 +. . . [key] [Octet String] "EDU,MIT.,ATHENA.,WASHINGTON.EDU,CS." +. . [authtime] [Generalized Time] "19940610060317Z" +. . [starttime] [Generalized Time] "19940610060317Z" +. . [endtime] [Generalized Time] "19940610060317Z" +. . [renew-till] [Generalized Time] "19940610060317Z" +. . [caddr] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 02 . -. . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . [addr-type] [Integer] 2 +. . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 02 . -. . . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . [10] [Sequence/Sequence Of] +. . . . [addr-type] [Integer] 2 +. . . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . [authorization-data] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Octet String] <6> - 66 6f 6f 62 61 72 foobar +. . . . [ad-type] [Integer] 1 +. . . . [ad-data] [Octet String] "foobar" . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Octet String] <6> - 66 6f 6f 62 61 72 foobar +. . . . [ad-type] [Integer] 1 +. . . . [ad-data] [Octet String] "foobar" encode_krb5_enc_tkt_part(optionals NULL): -[APPL 3 Krb5 Encrypted ticket part] +[Krb5 Encrypted ticket part] . [Sequence/Sequence Of] -. . [0] [Bit String] <5> - 00 fe dc ba 98 ..... -. . [1] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <35> - 45 44 55 2c 4d 49 54 2e EDU,MIT. - 2c 41 54 48 45 4e 41 2e ,ATHENA. - 2c 57 41 53 48 49 4e 47 ,WASHING - 54 4f 4e 2e 45 44 55 2c TON.EDU, - 43 53 2e CS. -. . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [7] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z +. . [flags] [Bit String] 0xfedcba98 +. . [key] [Sequence/Sequence Of] +. . . [keytype] [Integer] 1 +. . . [keyvalue] [Octet String] "12345678" +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [transited] [Sequence/Sequence Of] +. . . [flags] [Integer] 1 +. . . [key] [Octet String] "EDU,MIT.,ATHENA.,WASHINGTON.EDU,CS." +. . [authtime] [Generalized Time] "19940610060317Z" +. . [endtime] [Generalized Time] "19940610060317Z" encode_krb5_enc_kdc_rep_part: -[APPL 26 Krb5 Encrypted TGS-REQ part] +[Krb5 Encrypted TGS-REP part] . [Sequence/Sequence Of] -. . [0] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . [1] [Sequence/Sequence Of] +. . [key] [Sequence/Sequence Of] +. . . [keytype] [Integer] 1 +. . . [keyvalue] [Octet String] "12345678" +. . [last-req] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <2> - 00 fb .. -. . . . [1] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z +. . . . [lr-type] [Integer] 251 +. . . . [lr-value] [Generalized Time] "19940610060317Z" . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <2> - 00 fb .. -. . . . [1] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [2] [Integer] <1> - 2a * -. . [3] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [4] [Bit String] <5> - 00 fe dc ba 98 ..... -. . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [7] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [8] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [9] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [10] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [11] [Sequence/Sequence Of] +. . . . [lr-type] [Integer] 251 +. . . . [lr-value] [Generalized Time] "19940610060317Z" +. . [nonce] [Integer] 42 +. . [key-expiration] [Generalized Time] "19940610060317Z" +. . [flags] [Bit String] 0xfedcba98 +. . [authtime] [Generalized Time] "19940610060317Z" +. . [starttime] [Generalized Time] "19940610060317Z" +. . [enddtime] [Generalized Time] "19940610060317Z" +. . [renew-till] [Generalized Time] "19940610060317Z" +. . [srealm] [General string] "ATHENA.MIT.EDU" +. . [sname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [caddr] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 02 . -. . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . [addr-type] [Integer] 2 +. . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 02 . -. . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . [addr-type] [Integer] 2 +. . . . [address] [Octet String] <4> + 12 d0 00 23 ...# encode_krb5_enc_kdc_rep_part(optionals NULL): -[APPL 26 Krb5 Encrypted TGS-REQ part] +[Krb5 Encrypted TGS-REP part] . [Sequence/Sequence Of] -. . [0] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . [1] [Sequence/Sequence Of] +. . [key] [Sequence/Sequence Of] +. . . [keytype] [Integer] 1 +. . . [keyvalue] [Octet String] "12345678" +. . [last-req] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <2> - 00 fb .. -. . . . [1] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z +. . . . [lr-type] [Integer] 251 +. . . . [lr-value] [Generalized Time] "19940610060317Z" . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <2> - 00 fb .. -. . . . [1] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [2] [Integer] <1> - 2a * -. . [4] [Bit String] <5> - 00 fe 5c ba 98 ..\.. -. . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [7] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [9] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [10] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra +. . . . [lr-type] [Integer] 251 +. . . . [lr-value] [Generalized Time] "19940610060317Z" +. . [nonce] [Integer] 42 +. . [flags] [Bit String] 0xfe5cba98 +. . [authtime] [Generalized Time] "19940610060317Z" +. . [enddtime] [Generalized Time] "19940610060317Z" +. . [srealm] [General string] "ATHENA.MIT.EDU" +. . [sname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" encode_krb5_as_rep: -[APPL 11 Krb5 AS-REP packet] +[Krb5 AS-REP packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 0b . -. . [2] [Sequence/Sequence Of] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 11 +. . [padata] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data -. . [3] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [5] [APPL 1 Krb5 Ticket] +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [ticket] [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [6] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [enc-part] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_as_rep(optionals NULL): -[APPL 11 Krb5 AS-REP packet] +[Krb5 AS-REP packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 0b . -. . [3] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [5] [APPL 1 Krb5 Ticket] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 11 +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [ticket] [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [6] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [enc-part] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_tgs_rep: -[APPL 13 Krb5 TGS-REP packet] +[Krb5 TGS-REP packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 0d . -. . [2] [Sequence/Sequence Of] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 13 +. . [padata] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data -. . [3] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [5] [APPL 1 Krb5 Ticket] +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [ticket] [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [6] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [enc-part] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_tgs_rep(optionals NULL): -[APPL 13 Krb5 TGS-REP packet] +[Krb5 TGS-REP packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 0d . -. . [3] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [5] [APPL 1 Krb5 Ticket] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 13 +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [ticket] [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [6] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [enc-part] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_ap_req: -[APPL 14 Krb5 AP-REQ packet] +[Krb5 AP-REQ packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 0e . -. . [2] [Bit String] <5> - 00 fe dc ba 98 ..... -. . [3] [APPL 1 Krb5 Ticket] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 14 +. . [ap-options] [Bit String] 0xfedcba98 +. . [ticket] [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [authenticator] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_ap_rep: -[APPL 15 Krb5 AP-REP packet] +[Krb5 AP-REP packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 0f . -. . [2] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 15 +. . [enc-part] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_ap_rep_enc_part: -[APPL 27 Krb5 Encrypted AP-REP part] +[Krb5 Encrypted AP-REP part] . [Sequence/Sequence Of] -. . [0] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [1] [Integer] <3> - 01 e2 40 ..@ -. . [2] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . [3] [Integer] <1> - 11 . +. . [ctime] [Generalized Time] "19940610060317Z" +. . [cusec] [Integer] 123456 +. . [subkey] [Sequence/Sequence Of] +. . . [keytype] [Integer] 1 +. . . [keyvalue] [Octet String] "12345678" +. . [seq-number] [Integer] 17 encode_krb5_ap_rep_enc_part(optionals NULL): -[APPL 27 Krb5 Encrypted AP-REP part] +[Krb5 Encrypted AP-REP part] . [Sequence/Sequence Of] -. . [0] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [1] [Integer] <3> - 01 e2 40 ..@ +. . [ctime] [Generalized Time] "19940610060317Z" +. . [cusec] [Integer] 123456 encode_krb5_as_req: -[APPL 10 Krb5 AS-REQ packet] +[Krb5 AS-REQ packet] . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 05 . -. . [2] [Integer] <1> - 0a . -. . [3] [Sequence/Sequence Of] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 10 +. . [padata] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data -. . [4] [Sequence/Sequence Of] -. . . [0] [Bit String] <5> - 00 fe dc ba 90 ..... -. . . [1] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Sequence/Sequence Of] -. . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . [General string] <5> - 65 78 74 72 61 extra -. . . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . [3] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Sequence/Sequence Of] -. . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . [General string] <5> - 65 78 74 72 61 extra -. . . [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [7] [Integer] <1> - 2a * -. . . [8] [Sequence/Sequence Of] -. . . . [Integer] <1> - 00 . -. . . . [Integer] <1> - 01 . -. . . [9] [Sequence/Sequence Of] +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" +. . [req-body] [Sequence/Sequence Of] +. . . [kdc-options] [Bit String] 0xfedcba90 +. . . [cname] [Sequence/Sequence Of] +. . . . [name-type] [Integer] 1 +. . . . [name-string] [Sequence/Sequence Of] +. . . . . [General string] "hftsai" +. . . . . [General string] "extra" +. . . [realm] [General string] "ATHENA.MIT.EDU" +. . . [sname] [Sequence/Sequence Of] +. . . . [name-type] [Integer] 1 +. . . . [name-string] [Sequence/Sequence Of] +. . . . . [General string] "hftsai" +. . . . . [General string] "extra" +. . . [from] [Generalized Time] "19940610060317Z" +. . . [till] [Generalized Time] "19940610060317Z" +. . . [rtime] [Generalized Time] "19940610060317Z" +. . . [nonce] [Integer] 42 +. . . [etype] [Sequence/Sequence Of] +. . . . [Integer] 0 +. . . . [Integer] 1 +. . . [addresses] [Sequence/Sequence Of] . . . . [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 02 . -. . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . [addr-type] [Integer] 2 +. . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . . [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 02 . -. . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . . [10] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 00 . -. . . . [1] [Integer] <1> - 05 . -. . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . . [11] [Sequence/Sequence Of] -. . . . [APPL 1 Krb5 Ticket] +. . . . . [addr-type] [Integer] 2 +. . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . . [enc-authorization-data] [Sequence/Sequence Of] +. . . . [etype] [Integer] 0 +. . . . [kvno] [Integer] 5 +. . . . [cipher] [Octet String] "krbASN.1 test message" +. . . [additional-tickets] [Sequence/Sequence Of] +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . . . [APPL 1 Krb5 Ticket] +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_as_req(optionals NULL except second_ticket): -[APPL 10 Krb5 AS-REQ packet] +[Krb5 AS-REQ packet] . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 05 . -. . [2] [Integer] <1> - 0a . -. . [4] [Sequence/Sequence Of] -. . . [0] [Bit String] <5> - 00 fe dc ba 98 ..... -. . . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [7] [Integer] <1> - 2a * -. . . [8] [Sequence/Sequence Of] -. . . . [Integer] <1> - 00 . -. . . . [Integer] <1> - 01 . -. . . [11] [Sequence/Sequence Of] -. . . . [APPL 1 Krb5 Ticket] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 10 +. . [req-body] [Sequence/Sequence Of] +. . . [kdc-options] [Bit String] 0xfedcba98 +. . . [realm] [General string] "ATHENA.MIT.EDU" +. . . [till] [Generalized Time] "19940610060317Z" +. . . [nonce] [Integer] 42 +. . . [etype] [Sequence/Sequence Of] +. . . . [Integer] 0 +. . . . [Integer] 1 +. . . [additional-tickets] [Sequence/Sequence Of] +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . . . [APPL 1 Krb5 Ticket] +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_as_req(optionals NULL except server): -[APPL 10 Krb5 AS-REQ packet] +[Krb5 AS-REQ packet] . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 05 . -. . [2] [Integer] <1> - 0a . -. . [4] [Sequence/Sequence Of] -. . . [0] [Bit String] <5> - 00 fe dc ba 90 ..... -. . . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . [3] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Sequence/Sequence Of] -. . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . [General string] <5> - 65 78 74 72 61 extra -. . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [7] [Integer] <1> - 2a * -. . . [8] [Sequence/Sequence Of] -. . . . [Integer] <1> - 00 . -. . . . [Integer] <1> - 01 . +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 10 +. . [req-body] [Sequence/Sequence Of] +. . . [kdc-options] [Bit String] 0xfedcba90 +. . . [realm] [General string] "ATHENA.MIT.EDU" +. . . [sname] [Sequence/Sequence Of] +. . . . [name-type] [Integer] 1 +. . . . [name-string] [Sequence/Sequence Of] +. . . . . [General string] "hftsai" +. . . . . [General string] "extra" +. . . [till] [Generalized Time] "19940610060317Z" +. . . [nonce] [Integer] 42 +. . . [etype] [Sequence/Sequence Of] +. . . . [Integer] 0 +. . . . [Integer] 1 encode_krb5_tgs_req: -[APPL 12 Krb5 TGS-REQ packet] +[Krb5 TGS-REQ packet] . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 05 . -. . [2] [Integer] <1> - 0c . -. . [3] [Sequence/Sequence Of] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 12 +. . [padata] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" . . . [Sequence/Sequence Of] -. . . . [1] [Integer] <1> - 0d . -. . . . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data -. . [4] [Sequence/Sequence Of] -. . . [0] [Bit String] <5> - 00 fe dc ba 90 ..... -. . . [1] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Sequence/Sequence Of] -. . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . [General string] <5> - 65 78 74 72 61 extra -. . . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . [3] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Sequence/Sequence Of] -. . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . [General string] <5> - 65 78 74 72 61 extra -. . . [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [7] [Integer] <1> - 2a * -. . . [8] [Sequence/Sequence Of] -. . . . [Integer] <1> - 00 . -. . . . [Integer] <1> - 01 . -. . . [9] [Sequence/Sequence Of] +. . . . [padata-type] [Integer] 13 +. . . . [pa-data] [Octet String] "pa-data" +. . [req-body] [Sequence/Sequence Of] +. . . [kdc-options] [Bit String] 0xfedcba90 +. . . [cname] [Sequence/Sequence Of] +. . . . [name-type] [Integer] 1 +. . . . [name-string] [Sequence/Sequence Of] +. . . . . [General string] "hftsai" +. . . . . [General string] "extra" +. . . [realm] [General string] "ATHENA.MIT.EDU" +. . . [sname] [Sequence/Sequence Of] +. . . . [name-type] [Integer] 1 +. . . . [name-string] [Sequence/Sequence Of] +. . . . . [General string] "hftsai" +. . . . . [General string] "extra" +. . . [from] [Generalized Time] "19940610060317Z" +. . . [till] [Generalized Time] "19940610060317Z" +. . . [rtime] [Generalized Time] "19940610060317Z" +. . . [nonce] [Integer] 42 +. . . [etype] [Sequence/Sequence Of] +. . . . [Integer] 0 +. . . . [Integer] 1 +. . . [addresses] [Sequence/Sequence Of] . . . . [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 02 . -. . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . [addr-type] [Integer] 2 +. . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . . [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 02 . -. . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . . [10] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 00 . -. . . . [1] [Integer] <1> - 05 . -. . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . . [11] [Sequence/Sequence Of] -. . . . [APPL 1 Krb5 Ticket] +. . . . . [addr-type] [Integer] 2 +. . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . . [enc-authorization-data] [Sequence/Sequence Of] +. . . . [etype] [Integer] 0 +. . . . [kvno] [Integer] 5 +. . . . [cipher] [Octet String] "krbASN.1 test message" +. . . [additional-tickets] [Sequence/Sequence Of] +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . . . [APPL 1 Krb5 Ticket] +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_tgs_req(optionals NULL except second_ticket): -[APPL 12 Krb5 TGS-REQ packet] +[Krb5 TGS-REQ packet] . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 05 . -. . [2] [Integer] <1> - 0c . -. . [4] [Sequence/Sequence Of] -. . . [0] [Bit String] <5> - 00 fe dc ba 98 ..... -. . . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [7] [Integer] <1> - 2a * -. . . [8] [Sequence/Sequence Of] -. . . . [Integer] <1> - 00 . -. . . . [Integer] <1> - 01 . -. . . [11] [Sequence/Sequence Of] -. . . . [APPL 1 Krb5 Ticket] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 12 +. . [req-body] [Sequence/Sequence Of] +. . . [kdc-options] [Bit String] 0xfedcba98 +. . . [realm] [General string] "ATHENA.MIT.EDU" +. . . [till] [Generalized Time] "19940610060317Z" +. . . [nonce] [Integer] 42 +. . . [etype] [Sequence/Sequence Of] +. . . . [Integer] 0 +. . . . [Integer] 1 +. . . [additional-tickets] [Sequence/Sequence Of] +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . . . [APPL 1 Krb5 Ticket] +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" +. . . . [Krb5 Ticket] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 05 . -. . . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . . [2] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 01 . -. . . . . . . [1] [Sequence/Sequence Of] -. . . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . . [3] [Sequence/Sequence Of] -. . . . . . . [0] [Integer] <1> - 00 . -. . . . . . . [1] [Integer] <1> - 05 . -. . . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . . . [tkt-vno] [Integer] 5 +. . . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . . [sname] [Sequence/Sequence Of] +. . . . . . . [name-type] [Integer] 1 +. . . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . . [General string] "hftsai" +. . . . . . . . [General string] "extra" +. . . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . . [etype] [Integer] 0 +. . . . . . . [kvno] [Integer] 5 +. . . . . . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_tgs_req(optionals NULL except server): -[APPL 12 Krb5 TGS-REQ packet] +[Krb5 TGS-REQ packet] . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 05 . -. . [2] [Integer] <1> - 0c . -. . [4] [Sequence/Sequence Of] -. . . [0] [Bit String] <5> - 00 fe dc ba 90 ..... -. . . [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . [3] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 01 . -. . . . [1] [Sequence/Sequence Of] -. . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . [General string] <5> - 65 78 74 72 61 extra -. . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [7] [Integer] <1> - 2a * -. . . [8] [Sequence/Sequence Of] -. . . . [Integer] <1> - 00 . -. . . . [Integer] <1> - 01 . +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 12 +. . [req-body] [Sequence/Sequence Of] +. . . [kdc-options] [Bit String] 0xfedcba90 +. . . [realm] [General string] "ATHENA.MIT.EDU" +. . . [sname] [Sequence/Sequence Of] +. . . . [name-type] [Integer] 1 +. . . . [name-string] [Sequence/Sequence Of] +. . . . . [General string] "hftsai" +. . . . . [General string] "extra" +. . . [till] [Generalized Time] "19940610060317Z" +. . . [nonce] [Integer] 42 +. . . [etype] [Sequence/Sequence Of] +. . . . [Integer] 0 +. . . . [Integer] 1 encode_krb5_kdc_req_body: [Sequence/Sequence Of] -. [0] [Bit String] <5> - 00 fe dc ba 90 ..... -. [1] [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Sequence/Sequence Of] -. . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . [General string] <5> - 65 78 74 72 61 extra -. [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. [3] [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Sequence/Sequence Of] -. . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . [General string] <5> - 65 78 74 72 61 extra -. [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. [7] [Integer] <1> - 2a * -. [8] [Sequence/Sequence Of] -. . [Integer] <1> - 00 . -. . [Integer] <1> - 01 . -. [9] [Sequence/Sequence Of] +. [kdc-options] [Bit String] 0xfedcba90 +. [cname] [Sequence/Sequence Of] +. . [name-type] [Integer] 1 +. . [name-string] [Sequence/Sequence Of] +. . . [General string] "hftsai" +. . . [General string] "extra" +. [realm] [General string] "ATHENA.MIT.EDU" +. [sname] [Sequence/Sequence Of] +. . [name-type] [Integer] 1 +. . [name-string] [Sequence/Sequence Of] +. . . [General string] "hftsai" +. . . [General string] "extra" +. [from] [Generalized Time] "19940610060317Z" +. [till] [Generalized Time] "19940610060317Z" +. [rtime] [Generalized Time] "19940610060317Z" +. [nonce] [Integer] 42 +. [etype] [Sequence/Sequence Of] +. . [Integer] 0 +. . [Integer] 1 +. [addresses] [Sequence/Sequence Of] . . [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 02 . -. . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . [addr-type] [Integer] 2 +. . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 02 . -. . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. [10] [Sequence/Sequence Of] -. . [0] [Integer] <1> - 00 . -. . [1] [Integer] <1> - 05 . -. . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. [11] [Sequence/Sequence Of] -. . [APPL 1 Krb5 Ticket] +. . . [addr-type] [Integer] 2 +. . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. [enc-authorization-data] [Sequence/Sequence Of] +. . [etype] [Integer] 0 +. . [kvno] [Integer] 5 +. . [cipher] [Octet String] "krbASN.1 test message" +. [additional-tickets] [Sequence/Sequence Of] +. . [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [APPL 1 Krb5 Ticket] +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_kdc_req_body(optionals NULL except second_ticket): [Sequence/Sequence Of] -. [0] [Bit String] <5> - 00 fe dc ba 98 ..... -. [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. [7] [Integer] <1> - 2a * -. [8] [Sequence/Sequence Of] -. . [Integer] <1> - 00 . -. . [Integer] <1> - 01 . -. [11] [Sequence/Sequence Of] -. . [APPL 1 Krb5 Ticket] +. [kdc-options] [Bit String] 0xfedcba98 +. [realm] [General string] "ATHENA.MIT.EDU" +. [till] [Generalized Time] "19940610060317Z" +. [nonce] [Integer] 42 +. [etype] [Sequence/Sequence Of] +. . [Integer] 0 +. . [Integer] 1 +. [additional-tickets] [Sequence/Sequence Of] +. . [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [APPL 1 Krb5 Ticket] +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [Krb5 Ticket] . . . [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 05 . -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 00 . -. . . . . [1] [Integer] <1> - 05 . -. . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . [tkt-vno] [Integer] 5 +. . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . [etype] [Integer] 0 +. . . . . [kvno] [Integer] 5 +. . . . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_kdc_req_body(optionals NULL except server): [Sequence/Sequence Of] -. [0] [Bit String] <5> - 00 fe dc ba 90 ..... -. [2] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. [3] [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Sequence/Sequence Of] -. . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . [General string] <5> - 65 78 74 72 61 extra -. [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. [7] [Integer] <1> - 2a * -. [8] [Sequence/Sequence Of] -. . [Integer] <1> - 00 . -. . [Integer] <1> - 01 . +. [kdc-options] [Bit String] 0xfedcba90 +. [realm] [General string] "ATHENA.MIT.EDU" +. [sname] [Sequence/Sequence Of] +. . [name-type] [Integer] 1 +. . [name-string] [Sequence/Sequence Of] +. . . [General string] "hftsai" +. . . [General string] "extra" +. [till] [Generalized Time] "19940610060317Z" +. [nonce] [Integer] 42 +. [etype] [Sequence/Sequence Of] +. . [Integer] 0 +. . [Integer] 1 encode_krb5_safe: -[APPL 20 Krb5 SAFE packet] +[Krb5 SAFE packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 14 . -. . [2] [Sequence/Sequence Of] -. . . [0] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data -. . . [1] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . [2] [Integer] <3> - 01 e2 40 ..@ -. . . [3] [Integer] <1> - 11 . -. . . [4] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 02 . -. . . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . . [5] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 02 . -. . . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <4> - 31 32 33 34 1234 +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 20 +. . [safe-body] [Sequence/Sequence Of] +. . . [user-data] [Octet String] "krb5data" +. . . [timestamp] [Generalized Time] "19940610060317Z" +. . . [usec] [Integer] 123456 +. . . [seq-number] [Integer] 17 +. . . [s-address] [Sequence/Sequence Of] +. . . . [addr-type] [Integer] 2 +. . . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . . [r-address] [Sequence/Sequence Of] +. . . . [addr-type] [Integer] 2 +. . . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . [cksum] [Sequence/Sequence Of] +. . . [cksumtype] [Integer] 1 +. . . [checksum] [Octet String] "1234" encode_krb5_safe(optionals NULL): -[APPL 20 Krb5 SAFE packet] +[Krb5 SAFE packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 14 . -. . [2] [Sequence/Sequence Of] -. . . [0] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data -. . . [4] [Sequence/Sequence Of] -. . . . [0] [Integer] <1> - 02 . -. . . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Octet String] <4> - 31 32 33 34 1234 +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 20 +. . [safe-body] [Sequence/Sequence Of] +. . . [user-data] [Octet String] "krb5data" +. . . [s-address] [Sequence/Sequence Of] +. . . . [addr-type] [Integer] 2 +. . . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . [cksum] [Sequence/Sequence Of] +. . . [cksumtype] [Integer] 1 +. . . [checksum] [Octet String] "1234" encode_krb5_priv: -[APPL 21 Krb5 PRIV packet] +[Krb5 PRIV packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 15 . +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 21 . . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . [pvno] [Integer] 0 +. . . [msg-type] [Integer] 5 +. . . [enc-part] [Octet String] "krbASN.1 test message" encode_krb5_enc_priv_part: -[APPL 28 Krb5 Encrypted PRIV part] +[Krb5 Encrypted PRIV part] . [Sequence/Sequence Of] -. . [0] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data -. . [1] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [2] [Integer] <3> - 01 e2 40 ..@ -. . [3] [Integer] <1> - 11 . -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 02 . -. . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . [5] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 02 . -. . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . [user-data] [Octet String] "krb5data" +. . [timestamp] [Generalized Time] "19940610060317Z" +. . [usec] [Integer] 123456 +. . [seq-number] [Integer] 17 +. . [s-address] [Sequence/Sequence Of] +. . . [addr-type] [Integer] 2 +. . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . [r-address] [Sequence/Sequence Of] +. . . [addr-type] [Integer] 2 +. . . [address] [Octet String] <4> + 12 d0 00 23 ...# encode_krb5_enc_priv_part(optionals NULL): -[APPL 28 Krb5 Encrypted PRIV part] +[Krb5 Encrypted PRIV part] . [Sequence/Sequence Of] -. . [0] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 02 . -. . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . [user-data] [Octet String] "krb5data" +. . [s-address] [Sequence/Sequence Of] +. . . [addr-type] [Integer] 2 +. . . [address] [Octet String] <4> + 12 d0 00 23 ...# encode_krb5_cred: -[APPL 22 Krb5 CRED packet] +[Krb5 CRED packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 16 . -. . [2] [Sequence/Sequence Of] -. . . [APPL 1 Krb5 Ticket] +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 22 +. . [tickets] [Sequence/Sequence Of] +. . . [Krb5 Ticket] . . . . [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 05 . -. . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . [2] [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 01 . -. . . . . . [1] [Sequence/Sequence Of] -. . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . [3] [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 00 . -. . . . . . [1] [Integer] <1> - 05 . -. . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . . [APPL 1 Krb5 Ticket] +. . . . . [tkt-vno] [Integer] 5 +. . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . [sname] [Sequence/Sequence Of] +. . . . . . [name-type] [Integer] 1 +. . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . [General string] "hftsai" +. . . . . . . [General string] "extra" +. . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . [etype] [Integer] 0 +. . . . . . [kvno] [Integer] 5 +. . . . . . [cipher] [Octet String] "krbASN.1 test message" +. . . [Krb5 Ticket] . . . . [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 05 . -. . . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . . [2] [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 01 . -. . . . . . [1] [Sequence/Sequence Of] -. . . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . . [3] [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 00 . -. . . . . . [1] [Integer] <1> - 05 . -. . . . . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage -. . [3] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 00 . -. . . [1] [Integer] <1> - 05 . -. . . [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. . . . . [tkt-vno] [Integer] 5 +. . . . . [realm] [General string] "ATHENA.MIT.EDU" +. . . . . [sname] [Sequence/Sequence Of] +. . . . . . [name-type] [Integer] 1 +. . . . . . [name-string] [Sequence/Sequence Of] +. . . . . . . [General string] "hftsai" +. . . . . . . [General string] "extra" +. . . . . [tkt-enc-part] [Sequence/Sequence Of] +. . . . . . [etype] [Integer] 0 +. . . . . . [kvno] [Integer] 5 +. . . . . . [cipher] [Octet String] "krbASN.1 test message" +. . [enc-part] [Sequence/Sequence Of] +. . . [etype] [Integer] 0 +. . . [kvno] [Integer] 5 +. . . [cipher] [Octet String] "krbASN.1 test message" encode_krb5_enc_cred_part: -[APPL 29 Krb5 Encrypted CRED part] +[Krb5 Encrypted CRED part] . [Sequence/Sequence Of] -. . [0] [Sequence/Sequence Of] +. . [ticket-info] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Bit String] <5> - 00 fe dc ba 98 ..... -. . . . [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [7] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [8] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [9] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [10] [Sequence/Sequence Of] +. . . . [key] [Sequence/Sequence Of] +. . . . . [keytype] [Integer] 1 +. . . . . [keyvalue] [Octet String] "12345678" +. . . . [prealm] [General string] "ATHENA.MIT.EDU" +. . . . [pname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [flags] [Bit String] 0xfedcba98 +. . . . [authtime] [Generalized Time] "19940610060317Z" +. . . . [startime] [Generalized Time] "19940610060317Z" +. . . . [endtime] [Generalized Time] "19940610060317Z" +. . . . [renew-till] [Generalized Time] "19940610060317Z" +. . . . [srealm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [caddr] [Sequence/Sequence Of] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 02 . -. . . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . . [addr-type] [Integer] 2 +. . . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 02 . -. . . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . . [addr-type] [Integer] 2 +. . . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . [Sequence/Sequence Of] -. . . . [0] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Bit String] <5> - 00 fe dc ba 98 ..... -. . . . [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [7] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [8] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [9] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [10] [Sequence/Sequence Of] +. . . . [key] [Sequence/Sequence Of] +. . . . . [keytype] [Integer] 1 +. . . . . [keyvalue] [Octet String] "12345678" +. . . . [prealm] [General string] "ATHENA.MIT.EDU" +. . . . [pname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [flags] [Bit String] 0xfedcba98 +. . . . [authtime] [Generalized Time] "19940610060317Z" +. . . . [startime] [Generalized Time] "19940610060317Z" +. . . . [endtime] [Generalized Time] "19940610060317Z" +. . . . [renew-till] [Generalized Time] "19940610060317Z" +. . . . [srealm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [caddr] [Sequence/Sequence Of] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 02 . -. . . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . . [addr-type] [Integer] 2 +. . . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 02 . -. . . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . [1] [Integer] <1> - 2a * -. . [2] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [3] [Integer] <3> - 01 e2 40 ..@ -. . [4] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 02 . -. . . [1] [Octet String] <4> - 12 d0 00 23 ...# -. . [5] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 02 . -. . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . . [addr-type] [Integer] 2 +. . . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . [nonce] [Integer] 42 +. . [timestamp] [Generalized Time] "19940610060317Z" +. . [usec] [Integer] 123456 +. . [s-address] [Sequence/Sequence Of] +. . . [addr-type] [Integer] 2 +. . . [address] [Octet String] <4> + 12 d0 00 23 ...# +. . [r-address] [Sequence/Sequence Of] +. . . [addr-type] [Integer] 2 +. . . [address] [Octet String] <4> + 12 d0 00 23 ...# encode_krb5_enc_cred_part(optionals NULL): -[APPL 29 Krb5 Encrypted CRED part] +[Krb5 Encrypted CRED part] . [Sequence/Sequence Of] -. . [0] [Sequence/Sequence Of] +. . [ticket-info] [Sequence/Sequence Of] . . . [Sequence/Sequence Of] -. . . . [0] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 +. . . . [key] [Sequence/Sequence Of] +. . . . . [keytype] [Integer] 1 +. . . . . [keyvalue] [Octet String] "12345678" . . . [Sequence/Sequence Of] -. . . . [0] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Octet String] <8> - 31 32 33 34 35 36 37 38 12345678 -. . . . [1] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [2] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [3] [Bit String] <5> - 00 fe dc ba 98 ..... -. . . . [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [5] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [7] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . . . [8] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . . . [9] [Sequence/Sequence Of] -. . . . . [0] [Integer] <1> - 01 . -. . . . . [1] [Sequence/Sequence Of] -. . . . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . . . [General string] <5> - 65 78 74 72 61 extra -. . . . [10] [Sequence/Sequence Of] +. . . . [key] [Sequence/Sequence Of] +. . . . . [keytype] [Integer] 1 +. . . . . [keyvalue] [Octet String] "12345678" +. . . . [prealm] [General string] "ATHENA.MIT.EDU" +. . . . [pname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [flags] [Bit String] 0xfedcba98 +. . . . [authtime] [Generalized Time] "19940610060317Z" +. . . . [startime] [Generalized Time] "19940610060317Z" +. . . . [endtime] [Generalized Time] "19940610060317Z" +. . . . [renew-till] [Generalized Time] "19940610060317Z" +. . . . [srealm] [General string] "ATHENA.MIT.EDU" +. . . . [sname] [Sequence/Sequence Of] +. . . . . [name-type] [Integer] 1 +. . . . . [name-string] [Sequence/Sequence Of] +. . . . . . [General string] "hftsai" +. . . . . . [General string] "extra" +. . . . [caddr] [Sequence/Sequence Of] . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 02 . -. . . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . . [addr-type] [Integer] 2 +. . . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# . . . . . [Sequence/Sequence Of] -. . . . . . [0] [Integer] <1> - 02 . -. . . . . . [1] [Octet String] <4> - 12 d0 00 23 ...# +. . . . . . [addr-type] [Integer] 2 +. . . . . . [address] [Octet String] <4> + 12 d0 00 23 ...# encode_krb5_error: -[APPL 30 Krb5 ERROR packet] +[Krb5 ERROR packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 1e . -. . [2] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [3] [Integer] <3> - 01 e2 40 ..@ -. . [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [5] [Integer] <3> - 01 e2 40 ..@ -. . [6] [Integer] <1> - 3c < -. . [7] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [8] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [9] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [10] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra -. . [11] [General string] <8> - 6b 72 62 35 64 61 74 61 krb5data -. . [12] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 30 +. . [ctime] [Generalized Time] "19940610060317Z" +. . [cusec] [Integer] 123456 +. . [stime] [Generalized Time] "19940610060317Z" +. . [susec] [Integer] 123456 +. . [error-code] [Integer] 60 +. . [crealm] [General string] "ATHENA.MIT.EDU" +. . [cname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [realm] [General string] "ATHENA.MIT.EDU" +. . [sname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" +. . [e-text] [General string] "krb5data" +. . [e-data] [Octet String] "krb5data" encode_krb5_error(optionals NULL): -[APPL 30 Krb5 ERROR packet] +[Krb5 ERROR packet] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 05 . -. . [1] [Integer] <1> - 1e . -. . [3] [Integer] <3> - 01 e2 40 ..@ -. . [4] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. . [5] [Integer] <3> - 01 e2 40 ..@ -. . [6] [Integer] <1> - 3c < -. . [9] [General string] <14> - 41 54 48 45 4e 41 2e 4d ATHENA.M - 49 54 2e 45 44 55 IT.EDU -. . [10] [Sequence/Sequence Of] -. . . [0] [Integer] <1> - 01 . -. . . [1] [Sequence/Sequence Of] -. . . . [General string] <6> - 68 66 74 73 61 69 hftsai -. . . . [General string] <5> - 65 78 74 72 61 extra +. . [pvno] [Integer] 5 +. . [msg-type] [Integer] 30 +. . [cusec] [Integer] 123456 +. . [stime] [Generalized Time] "19940610060317Z" +. . [susec] [Integer] 123456 +. . [error-code] [Integer] 60 +. . [realm] [General string] "ATHENA.MIT.EDU" +. . [sname] [Sequence/Sequence Of] +. . . [name-type] [Integer] 1 +. . . [name-string] [Sequence/Sequence Of] +. . . . [General string] "hftsai" +. . . . [General string] "extra" encode_krb5_authorization_data: [Sequence/Sequence Of] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Octet String] <6> - 66 6f 6f 62 61 72 foobar +. . [ad-type] [Integer] 1 +. . [ad-data] [Octet String] "foobar" . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Octet String] <6> - 66 6f 6f 62 61 72 foobar +. . [ad-type] [Integer] 1 +. . [ad-data] [Octet String] "foobar" encode_krb5_pwd_sequence: [Sequence/Sequence Of] -. [0] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data -. [1] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data +. [0] [Octet String] "krb5data" +. [1] [Octet String] "krb5data" encode_krb5_pwd_data: [Sequence/Sequence Of] -. [0] [Integer] <1> - 02 . +. [0] [Integer] 2 . [1] [Sequence/Sequence Of] . . [Sequence/Sequence Of] -. . . [0] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data -. . . [1] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data +. . . [0] [Octet String] "krb5data" +. . . [1] [Octet String] "krb5data" . . [Sequence/Sequence Of] -. . . [0] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data -. . . [1] [Octet String] <8> - 6b 72 62 35 64 61 74 61 krb5data +. . . [0] [Octet String] "krb5data" +. . . [1] [Octet String] "krb5data" encode_krb5_padata_sequence: [Sequence/Sequence Of] . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 0d . -. . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data +. . [1] [Integer] 13 +. . [2] [Octet String] "pa-data" . [Sequence/Sequence Of] -. . [1] [Integer] <1> - 0d . -. . [2] [Octet String] <7> - 70 61 2d 64 61 74 61 pa-data +. . [1] [Integer] 13 +. . [2] [Octet String] "pa-data" encode_krb5_padata_sequence(empty): @@ -1840,45 +1093,32 @@ encode_krb5_padata_sequence(empty): encode_krb5_alt_method: [Sequence/Sequence Of] -. [0] [Integer] <1> - 2a * -. [1] [Octet String] <6> - 73 65 63 72 65 74 secret +. [0] [Integer] 42 +. [1] [Octet String] "secret" encode_krb5_alt_method (no data): [Sequence/Sequence Of] -. [0] [Integer] <1> - 2a * +. [0] [Integer] 42 encode_krb5_etype_info: [Sequence/Sequence Of] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 00 . -. . [1] [Octet String] <11> - 4d 6f 72 74 6f 6e 27 73 Morton's - 20 23 30 #0 +. . [0] [Integer] 0 +. . [1] [Octet String] "Morton's #0" . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . +. . [0] [Integer] 1 . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 02 . -. . [1] [Octet String] <11> - 4d 6f 72 74 6f 6e 27 73 Morton's - 20 23 32 #2 +. . [0] [Integer] 2 +. . [1] [Octet String] "Morton's #2" encode_krb5_etype_info (only 1): [Sequence/Sequence Of] . [Sequence/Sequence Of] -. . [0] [Integer] <1> - 00 . -. . [1] [Octet String] <11> - 4d 6f 72 74 6f 6e 27 73 Morton's - 20 23 30 #0 +. . [0] [Integer] 0 +. . [1] [Octet String] "Morton's #0" encode_krb5_etype_info (no info): @@ -1887,89 +1127,51 @@ encode_krb5_etype_info (no info): encode_krb5_pa_enc_ts: [Sequence/Sequence Of] -. [0] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z -. [1] [Integer] <3> - 01 e2 40 ..@ +. [0] [Generalized Time] "19940610060317Z" +. [1] [Integer] 123456 encode_krb5_pa_enc_ts (no usec): [Sequence/Sequence Of] -. [0] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z +. [0] [Generalized Time] "19940610060317Z" encode_krb5_enc_data: [Sequence/Sequence Of] -. [0] [Integer] <1> - 00 . -. [1] [Integer] <1> - 05 . -. [2] [Octet String] <21> - 6b 72 62 41 53 4e 2e 31 krbASN.1 - 20 74 65 73 74 20 6d 65 test me - 73 73 61 67 65 ssage +. [etype] [Integer] 0 +. [kvno] [Integer] 5 +. [cipher] [Octet String] "krbASN.1 test message" encode_krb5_sam_challenge: [Sequence/Sequence Of] -. [0] [Integer] <1> - 2a * -. [1] [Bit String] <5> - 00 80 00 00 00 ..... -. [2] [Octet String] <9> - 74 79 70 65 20 6e 61 6d type nam - 65 e -. [3] [Octet String] <0> -. [4] [Octet String] <15> - 63 68 61 6c 6c 65 6e 67 challeng - 65 20 6c 61 62 65 6c e label -. [5] [Octet String] <14> - 63 68 61 6c 6c 65 6e 67 challeng - 65 20 69 70 73 65 e ipse -. [6] [Octet String] <20> - 72 65 73 70 6f 6e 73 65 response - 5f 70 72 6f 6d 70 74 20 _prompt - 69 70 73 65 ipse -. [7] [Octet String] <0> -. [8] [Integer] <3> - 54 32 10 T2. +. [0] [Integer] 42 +. [1] [Bit String] 0x80000000 +. [2] [Octet String] "type name" +. [3] [Octet String] "" +. [4] [Octet String] "challenge label" +. [5] [Octet String] "challenge ipse" +. [6] [Octet String] "response_prompt ipse" +. [7] [Octet String] "" +. [8] [Integer] 5517840 . [9] [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Octet String] <4> - 31 32 33 34 1234 +. . [0] [Integer] 1 +. . [1] [Octet String] "1234" encode_krb5_sam_response: [Sequence/Sequence Of] -. [0] [Integer] <1> - 2a * -. [1] [Bit String] <5> - 00 80 00 00 00 ..... -. [2] [Octet String] <10> - 74 72 61 63 6b 20 64 61 track da - 74 61 ta +. [0] [Integer] 42 +. [1] [Bit String] 0x80000000 +. [2] [Octet String] "track data" . [3] [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Integer] <2> - 07 96 .. -. . [2] [Octet String] <3> - 6b 65 79 key +. . [0] [Integer] 1 +. . [1] [Integer] 1942 +. . [2] [Octet String] "key" . [4] [Sequence/Sequence Of] -. . [0] [Integer] <1> - 01 . -. . [1] [Integer] <2> - 0d 36 .6 -. . [2] [Octet String] <11> - 6e 6f 6e 63 65 20 6f 72 nonce or - 20 74 73 ts -. [5] [Integer] <3> - 54 32 10 T2. -. [6] [Generalized Time] <15> - 31 39 39 34 30 36 31 30 19940610 - 30 36 30 33 31 37 5a 060317Z +. . [0] [Integer] 1 +. . [1] [Integer] 3382 +. . [2] [Octet String] "nonce or ts" +. [5] [Integer] 5517840 +. [6] [Generalized Time] "19940610060317Z"