summaryrefslogtreecommitdiffstats
path: root/src/tests/asn.1/reference_encode.out
Commit message (Collapse)AuthorAgeFilesLines
* Add ASN.1 support for OTPGreg Hudson2012-08-231-0/+7
| | | | | | | Add encoders and decoders for the OTP-TOKENINFO, PA-OTP-CHALLENGE, PA-OTP-REQUEST, and PA-OTP-ENC-REQUEST types from RFC 6560. For more thorough testing, add support for generating test encodings using asn1c for sample objects (currently only for the OTP types).
* Simplify some ASN.1 array encoder testsGreg Hudson2012-03-081-3/+3
| | | | | | Use encode_run() for pa_data and etype_info tests. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25743 dc483132-0cff-0310-8789-dd5450dbe970
* Add test cases for Windows RODC kvno compatibilityTom Yu2012-03-021-0/+2
| | | | | | ticket: 7092 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25725 dc483132-0cff-0310-8789-dd5450dbe970
* Remove some unused structures and encodersGreg Hudson2012-01-071-4/+0
| | | | | | | | | | | krb5_alt_method was added in r6604 but never supported. krb5_pwd_data became unused when the Sandia kadmin system was replaced. krb5_pa_server_referral_data and krb5_pa_svr_referral_data were added in r21690 with internally-visible encoders which nothing uses. Leave behind structure declarations in krb5.hin for API compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25619 dc483132-0cff-0310-8789-dd5450dbe970
* Remove SAM encoders and structuresGreg Hudson2012-01-071-5/+0
| | | | | | | | r24403 removed the old SAM support, but left behind the structures, free functions, and ASN.1 encoders/decoders. Remove those now. (SAM-2 support is still present.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25618 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing test cases for ASN.1 typesGreg Hudson2012-01-061-0/+6
| | | | | | Add test cases for ASN.1 types which didn't previously have them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25610 dc483132-0cff-0310-8789-dd5450dbe970
* Add IAKERB mechanism and gss_acquire_cred_with_passwordGreg Hudson2010-04-301-0/+2
| | | | | | | | | | | | | | Merge branches/iakerb to trunk. Includes the following: * New IAKERB mechanism. * New gss_acquire_cred_with_password mechglue function. * ASN.1 encoders and decoders for IAKERB structures (with tests). * New shortcuts in gss-sample client and server. * Tests to exercise SPNEGO and IAKERB using gss-sample application. ticket: 6712 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23960 dc483132-0cff-0310-8789-dd5450dbe970
* Constrained delegation without PAC supportGreg Hudson2009-11-141-0/+2
| | | | | | | | | | | Merge Luke's users/lhoward/s4u2proxy branch to trunk. Implements a Heimdal-compatible mechanism for allowing constrained delegation without back-end support for PACs. Back-end support exists in LDAP only (via a new krbAllowedToDelegateTo attribute), not DB2. ticket: 6580 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23160 dc483132-0cff-0310-8789-dd5450dbe970
* Implement GSS naming extensions and authdata verificationGreg Hudson2009-10-091-0/+1
| | | | | | | | | Merge Luke's users/lhoward/authdata branch to trunk. Implements GSS naming extensions and verification of authorization data. ticket: 6572 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22875 dc483132-0cff-0310-8789-dd5450dbe970
* Implement s4u extensionsGreg Hudson2009-09-131-0/+1
| | | | | | | | | Merge Luke's users/lhoward/s4u branch to trunk. Implements S4U2Self and S4U2Proxy extensions. ticket: 6563 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22736 dc483132-0cff-0310-8789-dd5450dbe970
* More regression tests for ASN.1 encodersKen Raeburn2008-10-251-0/+5
| | | | | | | | | Export encode_krb5_sam_response_2 and encode_krb5_enc_sam_response_enc_2 via accessor. Add encode tests for encode_krb5_sam_key, _enc_sam_response_enc, _predicted_sam_response, _sam_response_2, _enc_sam_response_enc_2. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20922 dc483132-0cff-0310-8789-dd5450dbe970
* Send generalstring not octetstring in etype_info2. Accept eitherSam Hartman2003-07-221-2/+2
| | | | | | | | | | | | form. Also, if a etype_info fails to decode, skip it rather than failing to process the AS reply. Ticket: 1681 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15723 dc483132-0cff-0310-8789-dd5450dbe970
* Implement encoders for etype_info2 and add support to s2kparams forSam Hartman2003-05-061-0/+2
| | | | | | | | | decoders. Ticket: 1454 Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15393 dc483132-0cff-0310-8789-dd5450dbe970
* For sam_challenge do not encode optional strings if string not present.Ezra Peisach2002-11-071-1/+1
| | | | | | | | Previously, a string of length zero was transmitted. ticket: 1224 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14974 dc483132-0cff-0310-8789-dd5450dbe970
* * reference_encode.out, trval_reference.out: Test encoding ofEzra Peisach2000-08-071-2/+2
| | | | | | | | | | | negative lr_type field. * krb5_decode_test.c: Fix enc_kdc_rep_part tests to trully handle a negative lr_type in a krb5_last_req_entry structure. If KRB5_GENEROUS_LR_TYPE is defined, do a backwards compatibility test as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12609 dc483132-0cff-0310-8789-dd5450dbe970
* add sam challenge and response test casesMark Eichin1996-04-091-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7775 dc483132-0cff-0310-8789-dd5450dbe970
* Updated reference files for the new structures now supported by the ASN.1Theodore Tso1995-11-081-0/+3
| | | | | | encoders and decoders. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7062 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_decode_test.c (main): Add tests for decode_krb5_{etype_info,alt_method}Theodore Tso1995-08-281-0/+5
| | | | | | | | | | | | | | | | | krb5_encode_test.c (main): Add tests for encode_krb5_{etype_info,alt_method} ktest_equal.c (ktest_equal_krb5_alt_method, ktest_equal_krb5_etype_info_entry, ktest_equal_krb5_etype_info) New functions to test {encode,decode}_krb5_{etype_info,alt_method}. ktest.c (ktest_make_sample_etype_info_entry, ktest_make_sample_etype_info, ktest_make_sample_alt_method, ktest_destroy_etype_info_entry, ktest_destroy_etype_info): New functions to test {encode,decode}_krb5_{etype_info,alt_method}. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6607 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_encode_test.c (main): Add tests for encode_krb5_padata_sequence()Theodore Tso1995-08-261-0/+2
| | | | | | | | | | | | | krb5_decode_test.c (main): Add tests for decode_krb5_padata_sequence(). ktest.c (ktest_make_sample_empty_pa_data_array): New function which creates an empty pa_data array. trval.c: Various -Wall cleanups. Makefile.in (trval): Add rule to build the standalone trval program. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6594 dc483132-0cff-0310-8789-dd5450dbe970
* Back out bad ASN.1 changesTheodore Tso1995-04-221-16/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5454 dc483132-0cff-0310-8789-dd5450dbe970
* Fix tests to reflect bit reversal changes to the krb5_flags fields.Theodore Tso1995-04-221-16/+16
| | | | | | | (The changes to the hex values have been hand checked to make sure they are correct.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5432 dc483132-0cff-0310-8789-dd5450dbe970
* checking in Harry's ASN.1 encoder tests. Will fix up laterTom Yu1994-08-041-0/+39
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4035 dc483132-0cff-0310-8789-dd5450dbe970