Lines Matching defs:asn1ticket
1221 /* Given d2i_-decoded asn1ticket, allocate and return a new krb5_ticket.
1234 /* IN */ KRB5_TKTBODY *asn1ticket,
1244 if (asn1ticket == NULL || asn1ticket->realm == NULL ||
1245 asn1ticket->sname == NULL ||
1246 sk_ASN1_GENERALSTRING_num(asn1ticket->sname->namestring) < 2)
1249 "Null field in asn1ticket.\n");
1262 gstr_svc = sk_ASN1_GENERALSTRING_value(asn1ticket->sname->namestring, 0);
1263 gstr_host = sk_ASN1_GENERALSTRING_value(asn1ticket->sname->namestring, 1);
1267 asn1ticket->realm->length, (char *)asn1ticket->realm->data,
1279 asn1ticket->sname->nametype->data[0];
1280 new5ticket->enc_part.enctype = asn1ticket->encdata->etype->data[0];
1281 new5ticket->enc_part.kvno = asn1ticket->encdata->kvno->data[0];
1283 asn1ticket->encdata->cipher->length;
1285 calloc(1, asn1ticket->encdata->cipher->length)) == NULL)
1296 asn1ticket->encdata->cipher->data,
1297 asn1ticket->encdata->cipher->length);
1322 KRB5_TKTBODY *asn1ticket = NULL;
1441 if ((asn1ticket = (KRB5_TKTBODY *) d2i_KRB5_TICKET(NULL, &p,
1451 if ((krb5rc = kssl_TKT2tkt(krb5context, asn1ticket, &krb5ticket,
1557 if (asn1ticket) KRB5_TICKET_free((KRB5_TICKET *) asn1ticket);