From 1a8f7caf8651d232c92efa2303651844e6bcc2c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 13 Jun 2011 20:24:00 -0700 Subject: [PATCH] add Fast cookie --- lib/asn1/krb5.asn1 | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/lib/asn1/krb5.asn1 b/lib/asn1/krb5.asn1 index eed3b9399..9a472b655 100644 --- a/lib/asn1/krb5.asn1 +++ b/lib/asn1/krb5.asn1 @@ -78,7 +78,9 @@ EXPORTS KrbFastResponse, KrbFastFinished, KrbFastReq, - KrbFastArmor + KrbFastArmor, + KDCFastState, + KDCFastCookie ; NAME-TYPE ::= INTEGER { @@ -826,6 +828,25 @@ PA-FX-FAST-REPLY ::= CHOICE { ... } +KDCFastFlags ::= BIT STRING { + use_reply_key(0), + reply_key_used(1), + reply_key_replaced(2), + kdc_verfied(3) +} + +-- KDCFastState is stored in FX_COOKIE +KDCFastState ::= SEQUENCE { + flags [0] KDCFastFlags, + expiration [1] GeneralizedTime, + fast-state [2] METHOD-DATA +} + +KDCFastCookie ::= SEQUENCE { + version [0] UTF8String, + cookie [1] EncryptedData +} + END -- etags -r '/\([A-Za-z][-A-Za-z0-9]*\).*::=/\1/' k5.asn1