Hi:

I'm trying to use "asn1_encode_oid" function defined in asn.1 directory.  This 
is how I'm using it:

krb5_addlenfield(rep->oid.length,rep->oid.data,0,asn1_encode_oid);

Is this the proper way to use it?  I've defined the oid as krb5_data.  

Also, when using this function - how does the function "asn1_encode_oid" 
expecting the data to be?  Should the OID string be passed as 

"{iso(1) member-body(2) United States(840) mit(113554) infosys(1) gssapi(2) 
generic(1) user_name(1)}" or as already DER encode string like 
""\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x01"?

Please advice.  Any explaination will be highly appreciated.

Thanks.

Ish....

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to